Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable back swipe in iOS 7 when IBActionSheet is shown #16

Open
rordulu opened this issue Aug 7, 2014 · 1 comment
Open

Disable back swipe in iOS 7 when IBActionSheet is shown #16

rordulu opened this issue Aug 7, 2014 · 1 comment
Assignees
Labels

Comments

@rordulu
Copy link

rordulu commented Aug 7, 2014

IBActionSheet doesn't seem to disable the back-swipe of UINAvigationController of iOS7 when it's in the screen

@ianb821 ianb821 added the bug label Feb 24, 2015
@ianb821 ianb821 self-assigned this Feb 24, 2015
@krisanthony
Copy link

This seems to work well - just add self.navigationController.interactivePopGestureRecognizer.enabled = NO; before showing the sheet, and then self.navigationController.interactivePopGestureRecognizer.enabled = YES; in the delegate method didDismissWithButtonIndex or willDismissWithButtonIndex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants