开发者

mapkit map doesn't reload

hi guys hope this is a simple question.

I have a navigationController with mapkit. How do i reload the pinpoints/data when I pressed back and select another option?

This is the scenario: I have a main page of table of patients objects. When i press on an unique row, it is suppose to be to populate points on the next page (mapkit). However, when i pressed back and select another patient object, it will always return the same mapkit view which patient object i have first selected.... really puzzling... the mapkit doesnt reload at all..

Hope someone can help or guide me=) Please开发者_运维百科 help guys... viewDidLoad method only load once.. and viewWillAppear method create layers.... =(


Try...

[mapView setCenterCoordinate:mapView.region.center animated:NO];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜