I want to check if the app is running in the background.
In:
locationManagerDidUpdateLocation { if(app is runing in background){ do this } }
App delegate gets callbacks indicating state transitions. You can track it based on that.
Also the applicationState property in UIApplication returns the current state.
[[UIApplication sharedApplication] applicationState]
1.4m articles
1.4m replys
5 comments
57.0k users