App not sleeping after idleTimer time expires

前端 未结 1 417
傲寒
傲寒 2021-01-18 17:33

From what I understand the idleTimerDisabled setting is set to a default of NO. Although, when I run my app and wait for it to time out and sleep, it\'s not timing out and i

相关标签:
1条回答
  • 2021-01-18 18:05

    Run the app from the iOS device itself, not from the XCode debugger. The debugger will not allow the device to go to sleep because you're, well, debugging ;)

    0 讨论(0)
提交回复
热议问题