Jason,
You need to call [application setIdleTimerDisabled:YES/NO];
- (void)applicationWillResignActive:(UIApplication *)application
{
[application setIdleTimerDisabled:NO];
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
[application setIdleTimerDisabled:NO];
}
-
I have an app that records video. If the user records more than the display
timeout, the display goes black.
Is there a way in Qt 5.5 or 5.6 to prevent the device sleep? I know android
will require a WAKE_LOCK permissions.
Ideally these this will only be in place while the video recording is ac