4

I am attempting to create a popover similar to this in an iPad app.

alt text

Does anybody know if there is a built in way to do this? Is it a UISegmentedControl inside of a UIPopoverController?

Community
  • 1
  • 1
DHamrick
  • 8,338
  • 9
  • 45
  • 62

2 Answers2

8

No it's not a segmented control inside a pop over controller. It's a menu controller.

You can get the shared menu controller, then edits its menuItems property, and show it.

kennytm
  • 510,854
  • 105
  • 1,084
  • 1,005
2

a UIPoveroverController can contain any view controller in it....so if u have a ViewController that has a view that is a UISegmentedControl or whatever you need i dont see why it wouldnt work...Though as the poster above me pointed out, you can just use a UIMenuController..

Daniel

Daniel
  • 22,363
  • 9
  • 64
  • 71