开发者

iPHone splitting the UIPIcker question

How开发者_如何学Go do I split the UIPicker into multiple parts, like the date picker only not the Day, month, and year - my own specified variables such as - Gender and age?


Your datasource method

– numberOfComponentsInPickerView:

needs to return 2, or however many parts you want.

Then, in your other delegate and datasource methods, you need to take into account what component it's referencing, and populate/handle accordingly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜