Here I have 2 views:
WallViewController contains MKMapView, and <
You can use PFObject.objectId to find annotation what you want.
PFObject *selectedObject = [self.objects objectAtIndex:i];
for (id annotation in wallViewController.mapView.annotations)
{
if ([annotation isKindOfClass:[PAWPost class]])
{
PAWPost *post = (PAWPost*)annotation;
if ([post.object.objectId isEqualToString:selectedObject.objectId])
{
[wallViewController.mapView selectAnnotation:annotation animated:YES];
break;
}
}
}