PDA

View Full Version : question about the Core Location service




tranvutuan
Mar 8, 2012, 12:06 PM
I am working on the Core Location and getting the pop-up message from CCLocation Manager like a below
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

(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