Issues with Screen.sleepTimeout

Hello, I am trying to control screen dimming/going to sleep in our app. Our app presents animated content in a video like player, so we want to device to not go to sleep when viewing content, but to enable sleeping (using the device settings) when in a menu. Currently I have the following code attached to our menu component

        private void OnEnable(){
            Screen.sleepTimeout = SleepTimeout.SystemSetting;
        }

        private void OnDisable(){
            Screen.sleepTimeout = SleepTimeout.NeverSleep;
        }

However, when tested on an iPad the app will never sleep, even after the menu is enabled and visible. We are using Unity 5.3.5. Is this a bug or am I using sleepTimeout incorrectly.

Thanks,
Paul

I unfortunately don’t have an answer, but I suggest you ask in the platform/ios forum for better chances :wink: