ios - What state my app will enter into when device receiving alerts (alert view) from other apps (e.g. calendar) -
while user playing app, there calendar alert (alert view) pop up. user need dismiss calendar alert app. before doing so, kind of state app running, or put in way, kind of event app receive know app "interrupted" app?
i think want use applicationwillresignactive:
. the docs:
this method called let application know move active inactive state. can occur types of temporary interruptions (such incoming phone call or sms message) or when user quits application , begins transition background state. application in inactive state continues run not dispatch incoming events responders.
Comments
Post a Comment