40media Update coordinate property of MKAnnotation on parent viewcontroller after Touch End event?


Update coordinate property of MKAnnotation on parent viewcontroller after Touch End event?



I have written an application with a draggable annotation which I have added on top of a MKMapView. I've added a CLLocationCoordinate2D variable called myloc in my main view controller to store the coordinate (lat,lng) values whenever I drag the annotation. My question is how do I update the myloc property value in the super parent UIViewController class whenever the touch end event ends on the annotation? If someone can share some code on how to do this elegantly that would be appreciated.

Thanks


Best way to manage probably huge photo library with iPhone SDK

1:

How make scrolling function with Interface builder on the iPhone?
Take a look at the following blog post: MapKit annotation drag and drop with callout info update.. How programatically move a UIScrollView to focus in a control above keyboard? You will find individual code samples, a full project on github and references to the official Apple Documentation (first post here, cannot insert second link, see the blog post).. How much of a transition is programming Java to iPhone apps? Good luck!. Best client-side data store for iPhone web app?
How return back info from a child to parent in a NavigationController

68 out of 100 based on 43 user ratings 478 reviews