Sam B
Sam B

Reputation: 27598

Setting dropdown in iPAD

I was looking at an app screenshot and was impressed with its setting options for iPAD. See screenshot

enter image description here

Can anyone tell me how is this setting drop implemented for iPAD? I usually take the user to a brand new page/view controller where I define a static table and options in it. I don't know how to implement it within the same view controller like the way they have it. Is there any example/sample code available? or steps of how to create one in Xcode 4.0? Thank you.

Upvotes: 0

Views: 159

Answers (2)

relower
relower

Reputation: 1313

Look at this will help you i think. There is a sample to learn how to. Also there is a video tutorial here.

Upvotes: 0

omz
omz

Reputation: 53551

It's a UIPopoverController. Have a look at the documentation, it's really pretty easy to create one. Essentially, you just put a normal view controller into it and present it from either a rectangle or a toolbar button. If your view controller doesn't fill the entire screen height, you should also set its contentSizeForViewInPopover property.

Upvotes: 2

Related Questions