Is there any way to make a UIView resign its first responder status when the user taps outside of the view bounds?
+2
A:
Capture the touch in the other view or views. When handling that touch, call a selector that has your view resign its responder status.
Alex Reynolds
2010-08-07 17:15:00
A:
Found better answer when doing research...
there is sample code on how to navigate the views to find the first-responder which could be used as the basis of you solution
You could place a transparent view first, then your view as a sub view. Then any touch events in the transparent view could be used to resign first responder.
This might be an approach if there are multiple views, outside the boundary of the primary view to be managed
Aaron Saunders
2010-08-07 19:03:36