Bir kullanıcının konumu için mavi nabız gibi atan nokta görüntülemek istiyorum. Bunu yapıyorum:
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation{
//some other stuff here
[self.mapView setShowsUserLocation:YES];
}
Ama sonunda olsun
-[MKUserLocation establishment]: unrecognized selector sent to instance 0x125e90
Bu başka bir yol yapıyor olması gerekmez mi?
-- DÜZENLE --
Ayrıca hangi Sonunda yukarıda istisna olsun, nerede bu yapıyorum:
- (MKAnnotationView *) mapView:(MKMapView *)_mapView viewForAnnotation:(AddressNote *) annotation{
if(annotation.establishment != nil){
//do something}
kurulması Ben AddressNote üzerindeki özel bir sınıftır. kuruluş değerine sahip olduğunda, durum oluşur. Ben ShowsUserLocation set yoksa, her şey iyi çalışıyor ancak tabii ki, kullanıcı yerini görmüyorum.













