John-Lluch / SWRevealViewController

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right !
Other
4.52k stars 989 forks source link

Set SideMenu on Left Side #657

Open surbhivarma90 opened 7 years ago

surbhivarma90 commented 7 years ago

Hello, i want to set my side menu to left side, could you please tell how to fix it ? Thanks

iDevelopper commented 7 years ago

More precisely, you want to move your front view to the right to display the rear view, right? In your front view controller (viewDidLoad):

        revealViewController().setFrontViewPosition(.right, animated: false) // or true