开发者

how to refresh mapview in iphones through Objective C

I have a mapview in my application.I have a Textfield where i type the location i need..when i press UIButton Item named GO..it searches and points to the locat开发者_Go百科ion i have typed in textfield..now i want to refresh the mapview..as in i want the same view which was before i type anything in textfield..how do i do that???


Save the value of the MKMapView.region property and restore it to its previous value.


destroy the current mapview object using

[mapview release];

and then create a new mapview

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜