Imagine a ViewController with 2 UITextFields. When you tap on TextField1, it appears a Popover.
Now, if I tap out of the popover, it disappears (OK). However, I want this behaviour:
- If I click outside of the popover, and this tap is on TextField2, I want to dismiss the popover (OK), AND throw an event (for example, open other popover from TextField2).
I've tried this solution: Iphone SDK dismissing Modal ViewControllers on ipad by clicking outside of it
But handleTapBehind method doesn't execute if popover is visible.
Is it possible?
Thanks!