DHamrick
DHamrick

Reputation: 8488

Buttons inside of a Pop Over Controller on the iPad

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?

Upvotes: 4

Views: 5262

Answers (2)

Daniel
Daniel

Reputation: 22395

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

Upvotes: 2

kennytm
kennytm

Reputation: 523184

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.

Upvotes: 8

Related Questions