views:

15

answers:

0

I'm using a UIPickerView with 2 components (or columns). When you select an item in the first component, the contents of the second component. i.e., let's say that the left component represents a list of colors categories(red,green,blue, etc) and the right component holds the (red1,red2,red3 for red),(green1,green2,green3 for green)and so on in each category - each category has different titles for colors, and different numbers of colors.if i give same no. of colors then its working fine.but if i give 4 for red and 3 for green then its not working. how will i do that??? plz help