andreamazz / SlideOutNavigation

SlideOut Navigation Controller for iOS.
MIT License
210 stars 49 forks source link

Don't override iOS 7 gestures or how to disable gestures within navigation controllers? #57

Closed aksonov closed 10 years ago

aksonov commented 10 years ago

I see now how to disable all gestures but I want to disable them only for 'child' controllers, i.e. support iOS 7 built-in gestures for "Back"

andreamazz commented 10 years ago

Hi You can disable and re-enable the gestures in your didAppear: and willDisappear: calls in your child or parent view controllers.

aksonov commented 10 years ago

How to disable SlideOutNavigation gestures in such way? I don’t want to disable built-in iOS 7 gestures.

On Dec 19, 2013, at 20:43, Andrea Mazzini notifications@github.com wrote:

Hi You can disable and re-enable the gestures in your didAppear: and willDisappear: calls in your child or parent view controllers.

— Reply to this email directly or view it on GitHub.

andreamazz commented 10 years ago

Use the options dictionary:

[_yourSlideControllder setSlideoutOptions:@{ AMOptionsEnableGesture: @(NO) }];
aksonov commented 10 years ago

Oh, thanks, didn’t figure out that i could enable/disable it in child controllers.

On Dec 19, 2013, at 20:58, Andrea Mazzini notifications@github.com wrote:

Use the options dictionary:

[_yourSlideControllder setSlideoutOptions:@{ AMOptionsEnableGesture: @(NO) }]; — Reply to this email directly or view it on GitHub.