[Solved] How do I extract the lat and long from the following code?


CLLocationCoordinate2D coordinate = placemark.location.coordinate

then:

coordinate.longitude
coordinate.latitude

docs: https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLPlacemark_class/Reference/Reference.html

solved How do I extract the lat and long from the following code?