iPad and UIPickerView (or UIDatePickerView)

Posted by Staros on Stack Overflow See other posts from Stack Overflow or by Staros
Published on 2010-04-29T19:48:42Z Indexed on 2010/05/04 5:48 UTC
Read the original article Hit count: 870

Hey all,

Has anyone had any luck using a UIPicker in the 3.2 SDK? I'm in the middle of porting an iPhone application over to an iPad and that's the one thing I can't seem to get to work. I've tried...

-Creating an action sheet, add the picker as a subview and displaying it.

-Creating that above action sheet, making it the view of a generic ViewController, adding that VC to a UIPopover

-Making just the picker the view of a generic ViewController, adding that VC to a UIPopover

With the action sheet it doesn't even attempt to draw it. In the popover view it attempts to draw but doesn't get rendered correctly.

Just wanted to check to see if anyone has accomplished this and if so how.

Thanks everyone!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad