开发者

Make a MKAnnotation placemark always visible

I want the placemark (title and subtitle) of a MKAnnotation object to be visible on the mapview at anytime without开发者_StackOverflow clicking on it.


You can use this in you map ViewController

(void)viewWillAppear:(BOOL)animated
{
  [super viewWillAppear:animated];
  [myMapView selectAnnotation:myAnnotation animated:YES];
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜