ios - Observe location services updates -



ios - Observe location services updates -

how can observe , phone call method when location services options change? example, app runs location services in background, i.e. alternative in settings set always. if user changes alternative while app still running, how can observe changes , create changes in app accordingly?

implement cllocationmanagerdelegate method

- (void)locationmanager:(cllocationmanager *)manager didchangeauthorizationstatus:(clauthorizationstatus)status

from docs:

"this method called whenever application’s ability utilize location services changes. changes can occur because user allowed or denied utilize of location services application or scheme whole."

ios ios7 ios8 location-services

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -