CosmicMind / Material

A UI/UX framework for creating beautiful applications.
http://cosmicmind.com
MIT License
11.99k stars 1.26k forks source link

SideNavigationViewController PanGesture #95

Closed reeichert closed 8 years ago

reeichert commented 8 years ago

Hi, i have a questio.

From my mainviewcontroller, i use "self.navigationController.pushViewController" to get to another view but the default panGesture to back to my mainviewcontroller, is replaced by pangesture of sideNavigation. Even if i try presentViewController or ShowViewController, i keep getting pangesture of sideNavigation..

there is any way of remove this gesture of some viewcontroller??

thanks

daniel-jonathan commented 8 years ago

Hi, @reeichert

Yes, in any viewController, you can set the sideNavigationViewController.enabled property to false.

sideNavigationViewController?.enabled = false

That will disable the SideNavigationViewController :)

Let me know if that works for you.

daniel-jonathan commented 8 years ago

Hi there, I am going to close this, and if you have any further issues, please re-open or make a new issue. Thank you!