Hiding sensitive screens on background
A lending app has to keep account information out of the app switcher snapshot when it goes to the background. Which lifecycle callback do you put the cover screen up in?
A lending app has to keep account information out of the app switcher snapshot when it goes to the background. Which lifecycle callback do you put the cover screen up in?
Put the cover up in sceneWillResignActive, the moment the app turns Inactive. The app switcher snapshot is taken right after sceneDidEnterBackground returns, so putting it up there is late; add an opaque view over the window with no animation at the Inactive point and the snapshot holds the cover instead of the account information.
App lifecycle and systemShort answerIntro
A user is working in your app, takes a phone call, hangs up, goes out to the home screen…
#lifecycle #background
App lifecycle and systemShort answerBasics
When the user goes out to the home screen (with the home button or a swipe), what happens…
#privacy #background
App lifecycle and systemMultiple choiceIntro
Which situations put an app in the Inactive state? Pick all that apply.
#lifecycle
App lifecycle and systemShort answerIntro
What kind of object is AppDelegate, and which events does it handle?
#lifecycle