I need to display a popover with additional options when a user touches (and holds) a segment in UISegmentedControl. How do I:
- detect the hold "gesture" on the segmented control.
- Display the popover with additional options on top of the selected segment
Thanks!
note a related question is:iPad popover - How do you point to one segment in a segmented control?
You would need to create a View with those "Options" you want manually. Or you could use third party library such as this
Add a UILongPressGestureRecognizer to your UIView
Get the position of the touch location and show the popover