Quantcast
Viewing all articles
Browse latest Browse all 204402

Annotation's detail button causing crash

Hey guys.

So I've downloaded the Handle Annotation Click demo and the only thing I've done is adding another annotation to the map, just like in the demo project:

var annotation2 = new BasicMapAnnotation (new CLLocationCoordinate2D (50.857, 2.351), "Paris", "City of Light");
mapView.AddAnnotation (annotation2);

I've also changed the latitude by 2..

When running the project it crashes when I click the annotations detail button. It crashes after I've clicked it a few times, and it doesnt really give me an error, it just crashes.

I've tried this on iphone simulator, and when debugging through xamarin studio I get this crash, but when starting the app from the simulator it works.

What am I missing here?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>