summaryrefslogtreecommitdiff
path: root/cpp/test/ios/controller
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/ios/controller')
-rw-r--r--cpp/test/ios/controller/Classes/AppDelegate.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/ios/controller/Classes/AppDelegate.m b/cpp/test/ios/controller/Classes/AppDelegate.m
index cc1773600fa..afff900c6b3 100644
--- a/cpp/test/ios/controller/Classes/AppDelegate.m
+++ b/cpp/test/ios/controller/Classes/AppDelegate.m
@@ -12,6 +12,10 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
+
+ // Ensure device does not become idle
+ [[UIApplication sharedApplication] setIdleTimerDisabled:YES];
+
return YES;
}