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

Dismissing modal views by "touch outside" #2

Open
yazid opened this issue Feb 17, 2014 · 2 comments
Open

Dismissing modal views by "touch outside" #2

yazid opened this issue Feb 17, 2014 · 2 comments

Comments

@yazid
Copy link

yazid commented Feb 17, 2014

Referring to the modal view presented when clicking on the cell, is it currently possible to dismiss the same view by touching anywhere outside of the visible area? Not an issue per se, but wondering whether this has been explored with the new API. This is technically the first time that you can officially present a modal view from another UIViewController on an iPhone, so I'm not quite sure how to approach this. Thanks!

@ashfurrow
Copy link
Contributor

Yeah, you should be able to add a UITouchGestureRecognizer to the container view to respond to touches outside the box. Let me know if you have any questions!

@Vitaliyy-jomedia
Copy link

Someone has already implemented hide a modal window by clicking on the darkened background? Show me how you did it.

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

3 participants