i want to get the GPS coordinates from iphone and send these GPS coordinates to web service. This web service, will take my GPS Coordinates and send me the location of the near
-didFailWithError
and -didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
-startUpdatingLocation
on your location manager.In didUpdate method you get all updates in your current location and can also check if the coordinates you get is valid for you (check horizontalAccuracy and timeStamp properties)