I am displaying a custom UIView when the user clicks on the pin (Like the Zillow app). Now the problem is that I need to place the view right above the actual pin. The MKAnnotat
Use convertCoordinate:toPointToView:. Something like:
UIView *view = ... CGPoint p = [mv convertCoordinate:annotation.coordinate toPointToView:mv]; CGRect frame = CGRectMake(p.x,p.y,view.frame.size.width,view.frame.size.height); view.frame = frame; [self.view addSubView:view];