Skip to content

Commit

Permalink
disables idle timer for demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hart authored and Andrew Hart committed Jul 26, 2017
1 parent ca31258 commit 8886c4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ARKit+CoreLocation/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

DDLogDebug("NEW SESSION")

UIApplication.shared.isIdleTimerDisabled = true

self.window = UIWindow(frame: UIScreen.main.bounds)

self.window!.makeKeyAndVisible()
Expand Down

0 comments on commit 8886c4e

Please sign in to comment.