Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-27-2009, 05:15 AM   #2 (permalink)
terence
Registered Member
 
Join Date: Oct 2009
Posts: 5
terence is on a distinguished road
Default

Basically through the error delegate callback.

- (void)locationManager: (CLLocationManager *)manager
didFailWithError: (NSError *)error

From an application perspective the choices are really not any different. If they cancel, then they don't want to allow CoreLocation privileges for the app and your callback will be executed. If they select Settings, then the app will be terminated to open the Settings app. (Don't recall now if your callback is triggered in that case or not.) If they enable Location Services, then when they relaunch your app they will be presented with the option again to agree or deny which will trigger one of your delegate methods.

Last edited by terence; 10-27-2009 at 05:17 AM. Reason: Interpreted the :( in the code as an emoticon.
terence is offline   Reply With Quote
 

» Advertisements
» Online Users: 537
14 members and 523 guests
.Snipe, Bertrand21, brajpal, daunmi, dhun, fugufish, GraffitiCircus, HemiMG, HowEver, ilmman, jasonqg49, Libera, tommiss12
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,318
Threads: 93,987
Posts: 402,404
Top Poster: BrianSlick (7,978)
Welcome to our newest member, Libera
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.