Saturday, 7 September 2013

Push from UIButton to Navigation Controller

Push from UIButton to Navigation Controller

So I have a Navigation Controller (see sketch below) that "houses" a Tab
Bar Controller. The Tab bar controller has 4 tabs (views). Now, inside one
of those views, I have a UIButton. I WANT to create a Push segue from this
button (highlighted) to another view, but I need the view it's pushing to
to have Navigation capabilities. That said, as we all know, you can't push
to a Navigation Controller. How can I get around this, and push from the
UIButton to a ViewController with a Navigation bar?

No comments:

Post a Comment