IOS Custom Idle Timer

In an enterprise iOS application, I need to implement an idle timeout. The idleTimerDisabled property for the application is yes, this is not what I want.

This is a magazine of the type of application for the exhibition, in which the application should return to the first page after a certain time. Is there some way that does not require me to configure each touch / gesture callback with a function that resets the timer?

+7
source share
1 answer

You can override UIApplication :: sendEvent to reset a timer, for example. see accepted answer here:

iPhone: Detect user inactivity / downtime since last touch

+4
source

All Articles