ios - How to present UIAlertView which contains Settings + Cancel button when location services are turned off in my app? -
in 1 of app i'm using location services. i'm throwing normal alert view whenever location services off "enable location services" "ok" button when open app. don't want this. rather need show alert view "turn on location services allow your_app_name determine location" "settings" , "cancel" button shown in image. give me suggestions sample code, thanks.
you should pop uialertview telling user needs enable location services.
if want more precise, can create new view explaining user how enable location services using graphical content, makes much easier user.
you cannot open settings page app, , if could, app rejected on app store.
ios uialertview core-location cllocationmanager
No comments:
Post a Comment