1

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!

zoul
  • 102,279
  • 44
  • 260
  • 354
OpenThread
  • 2,096
  • 3
  • 28
  • 49
  • Do you want that specific control for a text view? Or do you what that *type* of control? – ThomasW Feb 20 '13 at 09:02
  • 1
    UIMenuController is a native controller from iOS. You can add your custom controls in the popover.Also, you can control the behavior using notifications and delegate calls. – Tarun Feb 20 '13 at 09:07

1 Answers1

1

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.

Community
  • 1
  • 1
zoul
  • 102,279
  • 44
  • 260
  • 354