gresrun / GHSidebarNav

A clone of the new Facebook iOS UI paradigm
Apache License 2.0
607 stars 136 forks source link

How to get back to the root view controller of other menu item #8

Closed txie closed 11 years ago

txie commented 11 years ago

menu 1, menu 2 each of them represents a UINavigationController (same as the example),

[menu 1] --> root view controller [menu 2] --> root view controller --> VC2 --> VC3 --> VC4

I want to have a button in VC4, after tapped, goes to root view controller of [menu 1]. I tried several approaches, none did as I wanted.

gresrun commented 11 years ago

Well, I'm not sure how you've set up your app but in my demo I have a method

[GHMenuViewController selectRowAtIndexPath:animated:scrollPosition:]

that allows you to select a row from the menu and display that row's content view controller.

gresrun commented 11 years ago

This is a non-issue.