How do I prevent the iPhone screen from dimming or turning off while my application is running?

前端 未结 5 1082
醉梦人生
醉梦人生 2020-11-29 16:53

I\'m working on an app that requires no user input, but I don\'t want the iPhone to enter the power saving mode.

Is it possible to disable power saving from an app?<

5条回答
  •  醉话见心
    2020-11-29 17:27

    We were having the same issue. Turned out to be a rogue process on our MDM server that was deleted in our account but on the server was still sending the command to dim our devices.

提交回复
热议问题