gps - iPhone check location services -


i have app location services. if disable location services in preferences, check state method: [cllocationmanager locationservicesenabled] method return if location services enabled or disabled. problem don't know, how check state of location service app. mean state when location services enabled , disabled app ? how can check ? [cllocationmanager locationservicesenabled] not working here ... lot ..

i use in code, , work fine

if ([cllocationmanager authorizationstatus] == kclauthorizationstatusauthorized )  {     //do } else  {     //display alert example } 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -