objective c - Getting data from multiple UIPicker components -
i'm trying gather selected data in picker field. have 3 components. how can call specific component? i've been trying datedata[component][row]
returns last selected component. there way datedata[component:1]
? (i know doesn't work). thanks!
the uipickerview has instance function call retrieve selected row given component:
- (nsinteger)selectedrowincomponent:(nsinteger)component;
this how function call if pickerview instance name:
[pickerview selectedrowincomponent: 0]
Comments
Post a Comment