Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

GeocodeAddressAsync is throwing a NSErrorException on some addresses but not all

Has anyone had issues when using Xamarin to parse location strings?

Eg. I'm passing the address "Buffalo, NY 14267" into MonoTouch.CoreLocation.CLGeocoder.GeocodeAddressAsync() which then throws an unuseful exception.

However if I use an address like "Addison, TX 75001" then there is no error.

The code is simply:

CLPlacemark[] placemarks = await _geoCoder.ReverseGeocodeLocationAsync(new CLLocation((double)location.Latitude, (double)location.Longitude));



Sign In or Register to comment.