How 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?
A:
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.
DougW
2010-06-09 01:31:54
Thank you, that splits the picker - but how do I reference each side individually?
Rob J
2010-06-09 02:43:45