Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tranvutuan

macrumors member
Original poster
Dec 19, 2011
74
0
I am working on the Core Location and getting the pop-up message from CCLocation Manager like a below
Code:
Iphone would like to use your current location-----> DONT ALLOW OR YES
Processing ( this is what I thought) : after entering either "OK" or "Don't allow",I have just notified the CLLocationManagerDelegate about my current location and this process will trigger one of methods called

Code:
(void)locationManager:(CLLocationManager *)managerdidUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation

My question is that : is above processing correct Please correct me if I have just made a mistake some where. All comments are welcomed. Thanks
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.