iPhone mapKit annotation for Current Location

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-05-31T22:52:09Z Indexed on 2010/05/31 23:43 UTC
Read the original article Hit count: 514

Hello

Im currently strugglung with annotations. how can i prevent the AnnotationLable for the blue GPS-point. (Here is an Image)

- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(MKAnnotation *) annotation{


 if (annotation == mapView.userLocation) { 
  return nil;
 }

the function above isnt working, and i realized that i can't compare two coordinates.

Any hint is welcome. Simon

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c