skip to Main Content

Ios swift – Enable/Disable Screen Capture in iOS

I am able to disable screen capture in iOS using this code Objective- C - (void)makeSecure { dispatch_async(dispatch_get_main_queue(), ^{ UITextField *field = [[UITextField alloc] init]; field.secureTextEntry = true; [self addSubview:field]; [[field.centerYAnchor constraintEqualToAnchor:self.centerYAnchor] setActive:YES]; [[field.centerXAnchor constraintEqualToAnchor:self.centerXAnchor] setActive:YES]; [self.layer.superlayer addSublayer:field.layer]; [field.layer.sublayers.firstObject addSublayer:self.layer];…

VIEW QUESTION

Xcode – Issues while building iOS project with flutter

After upgrading Xcode 15 beta 5, cannot build project. Error being displayed Firebase 1 issue DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead FirebaseAnalytics 1 issue DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead Tried to…

VIEW QUESTION
Back To Top
Search