objective c - Using the showUserLocation property of MKMapView -
I currently have an app that shows different pins on a map. I mapView.showsUserLocation = YES; to show the user's current status.
, however, it crashed my app ("Programmable Signals: SIGABRT") with the following error message:
Mon Oct 19 12: 31:27 Unknown Solution Ad [3111] & lt; Error>: *** - [Mkusar Location Counter]: Send to unknown selector for example 0x10ad60 Monday 19:12:31:27 Unknown Solution Ad [3111] & lt; Error & gt;: Terminating ATM due to unacceptable exception 'NSINIDADAgument exception', reason: '*** - [MkUser Location Counter]: Unexpected selector sent for example 0x10ad60' Monday October 19 12:31:27 Unknown Solved Advertising [3111] & lt; Error & gt;: Stack: (...)
This is a bit confusing because I have not used MKUserLocation, or is this a problem?
The app uses core selection for other non-related purposes, however, the app responds in the same way when the Core Leo ocation is not being used in advance.
If anyone can help then it would be awesome!
Thank you - James
Be sure to include the following in this method: < /p>
- (MKAnnotationView *) mapView: (MKMapView *) MapView Visual Presentation: (ID & lt; Mk Animation & gt;) Annotation {if ([Annotation Class] == Mkusor Location class] { Return zero; } ...}
I hope that you have decided so far;)
Comments
Post a Comment