iphone - Which function of core location framework gets called when user changes its current location? -
i using core location framework inside app want ask function of core location framework called when user changes current location.
this method gets called when new location available. oldlocation may nil if there no previous location available.
- (void)locationmanager:(cllocationmanager *)manager didupdatetolocation:(cllocation *)newlocation fromlocation:(cllocation *)oldlocation;
Comments
Post a Comment