OpenThread
OpenThread

Reputation: 2094

Is this control available in UIKit?

I want to create some control which looks like "Select | Select All | Paste"

enter image description here

I want the control popover when a button tapped.

Is this control implemented in UIKit? How to create one?

Special thanks!

Upvotes: 1

Views: 132

Answers (1)

zoul
zoul

Reputation: 104065

This is UIMenuController. It’s slightly weird to use, see sample code on GitHub. If you’re after a general popover control, that’s available on the iPad as UIPopoverController and on the smaller devices via many third-party libraries or custom UIView subclasses.

Upvotes: 1

Related Questions