Revert UIApplication.shared.isIdleTimerDisabled to its initial state

Hello, I 've used UIApplication.shared.isIdleTimerDisabled = true as described on a post here in order to prevent my app from going to sleep, but when I wanted to restore this UIApplication.shared.isIdleTimerDisabled back to its initial state, setting it back to false seemed that the app didn’t work as it should do. Any solutions? Thank you in advance.

What was the behavior experienced when the value was set to false?

This topic was automatically closed after 166 days. New replies are no longer allowed.