Search Unity

iPad going to sleep even with auto lock set to never

Discussion in 'iOS and tvOS' started by iflo, Jul 3, 2018.

  1. iflo

    iflo

    Joined:
    Jan 7, 2016
    Posts:
    3
    Hi there,

    We have an app on the iPad (2018, IOS 11.3) that we need to run 24/7 in a tourist attraction. The iPad has auto lock set to never and we have also included Screen.sleepTimeout = SleepTimeout.NeverSleep;

    Unfortunately the iPad will randomly turn the screen off and require a passcode, usually after a couple of hours or so. Some of the iPads, however, seem to run fine all day.

    Any ideas whether something in Unity might be causing the iPads to turn off the screen, or might it be something in IOS itself?