0

I am using SWRevealViewController to create a Menu View. I am builded success and everything work fine like my Storyboard image below. Now what I want is when I push to Maps and Image ViewControllers(that 2 ViewControllers belong to MenuSide bard) my TabbarVC still display in that View I have to pushed. I try many ways and many things to find out but I think I need help.

Thank you.

Storyboard!!

sunsunai
  • 161
  • 4
  • 11

1 Answers1

0

It looks like you use different flow for your Maps and Image view controllers.

So As I understood you right and as I see on image you've attached here is a rear view controller which include table view:

enter image description here

and front view controller which is UINavigationController and which includes UITabBarViewController:

enter image description here

So for example if you tap on some cell which display for you UINavigationController which includes UITabBarViewController there is only this flow that you will see in front view controller. As I see on your Storyboard you've put Image and Maps View controller in another flow.

So when you show up rear view and then tap on some menu cell SWRevealViewControllertoggles front view controller automatically with assigned flow.

It looks like you push or present Image or Maps view controller from rear view controller, but if you want to see tab bar you should work with front view controller flow which is in your case:

UINavigationController -> UITabBarController -> UIViewcontrollers array.

So you need then push or present view controllers from controllers which is part of your UITabBarViewController.

As I see your Image and Maps controllers are in another segue.

Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
  • Hi, thank you for your answer but I really don't understand what exactly you are explaining for me. If you have any example or demo about this case please help me out. Very thank you. – sunsunai Dec 09 '15 at 08:03
  • @sunsunai Hey) so let's talk about it step by step, do you know how rear view toogle front view? – Matrosov Oleksandr Dec 10 '15 at 12:00