BGTaskScheduler
A requirement comes in: "every night while the user sleeps, clear the cache and prefetch new content." How would you register recurring work like that on iOS?
A requirement comes in: "every night while the user sleeps, clear the cache and prefetch new content." How would you register recurring work like that on iOS?
Register and schedule with BGTaskScheduler: BGAppRefreshTask for a short refresh (about 30 seconds) and BGProcessingTask for long work, where you can require power and network.
App lifecycle and systemMultiple choiceAdvanced
Which statements about BGAppRefreshTask are correct? Pick all that apply.
#bgtaskscheduler #bgapprefreshtask #background
App lifecycle and systemShort answerIntro
A user is working in your app, takes a phone call, hangs up, goes out to the home screen…
#background
App lifecycle and systemShort answerBasics
You get a report that a save to the server never lands when the user taps save and goes…
#background
App lifecycle and systemShort answerExpert
A chat app is built to wake up on a silent push (content-available) for each new message…
#background