Side menue for ios 8

295 Views Asked by At

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

2

There are 2 best solutions below

0
On
0
On

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