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
Post a Comment