mercredi 25 février 2015

iOS app relaunches automatically when user turn off and on the location services in iPhone settings

I'm using location services in my iOS App, It includes SignificantLocationChanges and Region monitoring.


I'm recognising the app relaunch cause by using 'UIApplicationLaunchOptionsLocationKey' in AppDelegate.


Consider the app is terminated. In this case when user turn off and on the location services in iPhone settings as shown in the below pic, My app is getting relaunched.


enter image description here______________enter image description here


Is it expected behaviour of iOS Apps that registered with SingnificantLocationChange & RegionMonitoring or any mistake i'm doing.


Thanks.




Aucun commentaire:

Enregistrer un commentaire