question about the Core Location service

Discussion in 'iOS Programming' started by tranvutuan, Mar 8, 2012.

  1. tranvutuan, Mar 8, 2012
    Last edited: Mar 8, 2012

    macrumors member

    Joined:
    Dec 19, 2011
    #1
    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
     

Share This Page