Let say i have a UIControl. What i want to do is, if the user tap on the control, then some action is executed. If the user tap anywhere else, then the UIControl disappears.
Actually it happens when you tap on a text field, then a menu pop up ("Select", "Select all", "Paste"). If you tap anywhere else, then the menu disappears.
Question is how can i detect that user touch somewhere else outside a specific control ?
Actually it happens when you tap on a text field, then a menu pop up ("Select", "Select all", "Paste"). If you tap anywhere else, then the menu disappears.
Question is how can i detect that user touch somewhere else outside a specific control ?