I am creating a popoverSegue from a new view controller and want to push the third view controller into the original stack. This is how I create the application:
- Create a New
Single View Application - Choose
Use Storyboards - Select the
MainStoryboard.storyboard file. - Select a single view controller, change the
Title and Identifier values ββto initialView , then select Editor->Embed In->Navigation Controller - Drag two new
View Controller objects from the object library onto the canvas - Change the
Title and Identifier new view controllers to: popoverView and newView . - Add a
Round Rect Button object from the object library to the initialView and popoverView . - Add a
Label object from the object library to `newView. - Click the button in the
initialView and drag it onto the popoverView . - Select the
Popover option from the Storyboard Segues menu that Storyboard Segues . - Control the mouse button on the
popoverView button and drag it to the newView . - Select the
Push option from the Storyboard Segues menu. - Build and run.
Click the first button and a popup will appear, but when you click the button inside the popover, nothing happens (it should cause a new view, but it doesnβt.)
I need to want it to push the Navigation Controller stack, but I'm not sure how to set up the storyboard for this.
Any ideas?
ios xcode ios5 storyboard uipopovercontroller
lnafziger
source share