I have a viewController that acts like sideMenu (called TBSMenuViewController) and another viewController that acts like main view (TBMenuViewController) and from it goes to another views.
I have a protocol that when i select some option in side menu, a method is called in TBMenuViewController) and does the navigation from it.
My problem appears when i stay in sideMenu, click some option of menu, the side menu make a popViewControllerAnimated, go to TBMenuViewController and i want to go to another views. The navigation doesn't work and only appear main view.
In addition of this, there are some buttons in main view, which has segues which works fine.
I don't understand the behaviour of all this. Can some people help me or teach my how work the side menu and the navigation?
Thanks you.