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

How to dismiss alertcontroller #24

Closed
rezasham opened this issue Oct 26, 2016 · 1 comment
Closed

How to dismiss alertcontroller #24

rezasham opened this issue Oct 26, 2016 · 1 comment

Comments

@rezasham
Copy link

Keyboard is automatically shown as soon as the alertview with a textfield is used. this is covering the buttons (cancel button added to view) so not possible to dismiss the keyboard or cancel out and dismiss the entire view.

  1. How to remove auto selection on the textfield as the alertview is shown?
  2. Possible to dismiss the alertview by tapping outside of the alertview?

R

@KyoheiG3
Copy link
Owner

Sorry but both impossible.
For question 2 try add UITapGesture to AlertController view. then call dismiss.

Thanks.

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

No branches or pull requests

2 participants