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
精彩评论