-
Notifications
You must be signed in to change notification settings - Fork 1k
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
dismiss when tap outside the actionsheet #61
Comments
Why the BOOL dismissWhenTapOut? |
Doesn't keep the selection, it cancels. Also tapping the status bar doesn't dismiss. |
Because the cancel button is small when a user accidentally makes the actionsheet popup. That's what I meant to do: cancel the selection when tap outside of the actionsheet. |
There is a better way to do this, using the a UIPopoverController delegate. If you set
|
Evernote was unable to submit your note for the following reason: The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered. Original message information: To prevent excessive emails, you may not receive another error reply for the next 360 minutes.
|
I fork a project from you and add this function which is very useful. Hope you can add this into master branch.
Simply add a bool property dismissWhenTapOut, and add the following code in the end of "void showActionSheetPicker":
Finally, add a function inside the same file:
My branch is here: https://github.com/benck/ActionSheetPicker
The text was updated successfully, but these errors were encountered: