iphone - How to access UIAlertView action over Application in iOS? -
hello using here uiwebview , load request map . have done when run app first time pop show, attaching image here
now want ask how access pop actions (don't allow , ok) ,because default generated first time when app run. don't know how access "ok" button want write code on "ok" button.
so please tell me how access these pop buttons in case.
implement cllocationmanagerdelegate protocol call event alert button pressed authorization status.
locationmanager:didchangeauthorizationstatus:
tells delegate authorization status application changed.
- (void)locationmanager:(cllocationmanager *)manager didchangeauthorizationstatus:(clauthorizationstatus)status
there various authorization status provided mention follows :
typedef enum { kclauthorizationstatusnotdetermined = 0, kclauthorizationstatusrestricted, kclauthorizationstatusdenied, kclauthorizationstatusauthorized, } clauthorizationstatus;
kclauthorizationstatusnotdetermined
user has not yet made choice regarding whether app can use location services.
kclauthorizationstatusrestricted
app not authorized use location services. user cannot change app’s status, possibly due active restrictions such parental controls being in place.
kclauthorizationstatusdenied
user explicitly denied use of location services app or location services disabled in settings.
kclauthorizationstatusauthorized
app authorized use location services.
Comments
Post a Comment