Postion segue popover on mapkit annotation without segue anchor?

Up vote 2 down vote favorite share g+ share fb share tw.

I have a project in xCode 4.2 using storyboards. I'm using the mapkit framework. I'm trying to position a popover by the annotation the user selected with a segue.

Here's what I have. If(view. Annotation isKindOfClass:ContentPoint class) { NSLog(@"I see this in my log"); self performSegueWithIdentifier:@"ViewAudioSegue" sender:mapView.

SelectedAnnotations; } This calls the correct segue, but because the segue has an anchor of mapview, the popover displays at the botton of the map and not beside the selected annotation. I've tried different senders (view, map, etc.) but I get the same result. Is there a way to programmatically set the anchor?

This is the error I get without manually setting the anchor "* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIStoryboardPopoverSegue must be presented from a bar button item or a view. '" annotations mapkit storyboard uipopovercontroller segue link|improve this question asked Mar 2 at 18:48nhart112.

I found my answer MapKit deselect Annotation and popover does not animate It's not using segues, but it allows me to eliminate all nib files in my project and just use storyboards.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions