ios - Location authorization status is 3 -
i using core location cheching location details.while checking authorization status ([cllocationmanager authorizationstatus]) got status 3.what means?
code:
nslog(@" [cllocationmanager authorizationstatus] %d" ,[cllocationmanager authorizationstatus]);
output:
[cllocationmanager authorizationstatus] 3
from apple docs:
typedef enum { kclauthorizationstatusnotdetermined = 0, kclauthorizationstatusrestricted , kclauthorizationstatusdenied , kclauthorizationstatusauthorized , <---- one! kclauthorizationstatusauthorizedalways = kclauthorizationstatusauthorized , kclauthorizationstatusauthorizedwheninuse } clauthorizationstatus;
kclauthorizationstatusauthorized
this app authorized use location services.
available in ios 2.0 , later.
deprecated in ios 8.0.
Comments
Post a Comment