add switch for attachWatermark
This commit is contained in:
1 parent
81c04bc2b2
commit
b106e60880
1 file changed
+2
@@ -1004,6 +1004,7 @@ static NSMutableSet* hostList;
|
||||
|
||||
- (void)attachWaterMark {
|
||||
// Create and configure the label
|
||||
if(true){
|
||||
[self->waterMark removeFromSuperview];
|
||||
self->waterMark = [[UILabel alloc] init];
|
||||
self->waterMark.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
@@ -1027,6 +1028,7 @@ static NSMutableSet* hostList;
|
||||
[self->waterMark.heightAnchor constraintEqualToConstant:60] // Sets the height of label to 50 points
|
||||
]];
|
||||
}
|
||||
}
|
||||
|
||||
- (bool)isIphone{
|
||||
return ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone);
|
||||
|
||||
Reference in new issue
Block a user