2

I am developing an application where I have multiple view controllers who should be able to access the reveal side menu. I am not using the navigation controller though, and am just using regular view controllers and opening the menu with a button. On the first screen, which I have linked with sw_front, it works.

If I go to another screen which I added an sw_front segue to too, it won't work. How can I get it to work on all view controllers which are linked? It seems to only work on one...

Screenshot of storyboard: Storyboard screenshot

Ethan Fine
  • 23
  • 5

1 Answers1

0

Add reveal view controller before it where you want like first view controller .

And one more thing if you are Access from SW_rear ,then set_push method gave by swrevealviewcontroller.

enter image description here

Kishore Kumar
  • 4,265
  • 3
  • 26
  • 47
  • if u like to access from sw_rear the use my suggestion other wise you have to add again swrevealview controller like your home screen :) – Kishore Kumar Feb 19 '16 at 13:33
  • So, I have to set a navigation controller in order to do it? Is there a way to set a navigation controller without a top bar? Basically like a normal view controller? – Ethan Fine Feb 19 '16 at 13:45
  • [self.navigationController.navigationBar setTranslucent:YES]; try this – Kishore Kumar Feb 19 '16 at 13:47
  • [[self navigationController] setNavigationBarHidden:YES animated:YES]; try this to – Kishore Kumar Feb 19 '16 at 13:48
  • you asked another question in it but no problem if its solved your problem accept my answer :) ,happy coding – Kishore Kumar Feb 19 '16 at 13:48
  • It seems as if it worked! Thank you very much. Just ended up ticking off the box in the navigation controller, haven't really used it before so had no idea there was a tick off for it :) – Ethan Fine Feb 19 '16 at 14:18
  • @EthanFine happy coding :) – Kishore Kumar Feb 19 '16 at 14:25
  • @KishoreKumar Can you please have a look over this question of mine... http://stackoverflow.com/q/35699581/5395919 . I am quite struggling on this issue. – G.Abhisek Feb 29 '16 at 12:35
  • @KishoreKumar, I also encounter problem with this RevealViewController. Could you please take a look to my question? I look many youtube tutorials of this but not work. Here is my question. http://stackoverflow.com/questions/42172297/slideoutmenu-remove-navigation-bar/42174197#42174197 – May Phyu Feb 13 '17 at 04:06