I have an array with NSString's in it. Some of these are latitude and longitudes and I need to use this with the below code.
The latText and lonText are my strings that I am trying to use as co-ordinates....
CLLocationCoordinate2D pinlocation=mapView.userLocation.coordinate;
pinlocation.latitude = latText;
pinlocation.longitude =lonText;
pinlocation.latitude = [latText doubleValue];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With