iOS Screen recording detection
问题 I tried to detect if screen capture is on for the application for iOS 11, to detect this the UIScreen.mainScreen.isCaptured property is used to check if it is recorded. It works fine for the first launch, when the app is terminated and launched again, then the API returns NO though the screen capture is on. Code: //In viewWillAppear block __block ViewController *weakSelf = self; [NSTimer scheduledTimerWithTimeInterval:2.0 repeats:YES block:^(NSTimer * _Nonnull timer) { [weakSelf