I have two ideas: First there is a MKMapView
with some annotations UIButton Clicking on
has a second view pushing on the stack. It has a UITableView
, which is a list of annotations, which corresponds to the map annotation. Therefore, when you click the Delete button, how can I call my MKMapView
, which is in another view, so that I can remove the annotation. My MKMapView
has been announced in my app representative, as well as my current class. I am trying to use the following, but it is not working:
Ride App Delegate * App Delegate = (Ride Upsiliget *) [[UIAPCC Shared Epiceling] Rep]; Comment * ANO; CLLocationCoordinate2D anoPoint; AnoPoint.latitude = [[EventTodelite ManForque: @ "Latitude"] Double Values]; AnoPoint.longitude = [[EventTodelite Manfurky: @ "Longitude"] Double Values]; Ano = [[[Annotation Alock] IIT] AutoWaves]; Ano.coordinate = anoPoint; [App deletion .Reedsmap removal annotation: ano]; [App release release];
Should I try to access MKMapView
of my second view?
- The ridespace should be an MK mapview that should be an eclipse of an additive. Is this property (retaining)? >
- Are you sure the comment follows the MkAnnation Protocol?
(Why release app deliate? You do not keep it or do it yourself.)
Comments
Post a Comment