On my storyboard (shown above), I have a ViewController which holds an MKMapView w
Simplest way to do this is to select the View controller you want to be the root of your navigation hierarchy and choose
Editor > Embed In > Navigation Controller
This creates the new navigation controller and hooks up everything up for you.
check this steps: 1. to click connection between two view controller. 2. click attribute inspector 3. set identifier to "showDetail". 4. save and run.
You actually have to set your UIViewController as the root controller of a UINavigationController (or pushed through from a view controller w/ a navcontroller). To do that