IPhone Session - Idle Timeout

When the user successfully logs into my application, the session will begin, after the X period of inactivity, the session will be disconnected.

Now, as you discover, the user sees if he is active with the application or not using it?

1) Check each button?

2) check screen loading?

+3
source share
3 answers

, , - UIApplication, sendEvent:, NSTimer ( , ). , . , . , reset .

, Shaggy Frog, iOS, HCI.

+5

" ", reset , " ".

, , iOS , . .

+2

You can also check if there is an applicationwillresactive callback for this.

-1
source

Source: https://habr.com/ru/post/1788353/


All Articles