For an app I'm developing I need some popup options, similar to how Cut/Copy/Paste is displayed when selecting text in a UITextView or UIWebView.
However, I'm having trouble finding what this kind of popup is called. Is there a public API for them, or is it something that has to be implemented from scratch?
The class you want to look at is UIMenuController.
If memory serves, you will need to create an array of UIMenuItem instances to describe the custom actions, and add them to the UIMenuController singleton using 'setMenuItems:'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With