curious if someone can help with one thing:
I’m just trying to tell Xcode that if both “addAnnotation” and “newAnnotation” pins exist on the map at the same time, then to remove the initial “newAnnotation” pin.
My non-working code is below:
if ([self.mapView addAnnotation:addAnnotation] & [self.mapView addAnnotation:newAnnotation] return)
{
[self.mapView removeAnnotation:newAnnotation];
}
Thanks!
thank you for the feedback but i solved it with this: