Hi Eskimo,
Is there a way to run the timer in background for 3 minutes to logout from the server session? or is there any other possible approach to get an event after 3 minutes to perform logout while the app is in background?
Post
Replies
Boosts
Views
Activity
Sure, here - https://developer.apple.com/forums/thread/679132
I wish to initiate the log out sequence (taking tenths of a second) after some time interval when the app goes in the background.
This is to make sure the user does not have to enter the passcode every time after the app is brought to foreground after short time interval (less than 3 minutes).
Earlier, the OS provided approximately 3 minutes before the expiration handler was called which made this feasible.