0

I wanna add a side menue to my iOS app. when user press a button in the currrent view, it should move to right side a little bit and a side menue should come from left side. How can I do this? I used ECSlidingViewController for my app, but it giving me an exception like

Terminating app due to uncaught exception 'Missing topViewController', reason: 'Set the topViewController before loading ECSlidingViewController'

How to solve this problem and is there any other way to do this? Please help me. Thanks

user2889249
  • 899
  • 2
  • 13
  • 22

2 Answers2

0

There are lots of other options https://github.com/aryaxt/iOS-Slide-Menu https://www.cocoacontrols.com/search?utf8=%E2%9C%93&q=side+menu Or you can do your own with the help of this document http://www.appcoda.com/ios-programming-sidebar-navigation-menu/

souvickcse
  • 7,742
  • 5
  • 37
  • 64
0

You can try with this library, just add your left and right view controller, easy to manage.. https://github.com/John-Lluch/SWRevealViewController

Jitendra
  • 2,226
  • 1
  • 11
  • 9