iphone - UIPickerView in iOS, obtain text from row in different component -
i need obtain text specific row of picker !!the delegate didselect not work, because after reloading components variable getting information before data reloaded. need obtain data calling function. in advance !!
- (nsstring *)pickerview:(uipickerview *)pickerview titleforrow:(nsinteger)row forcomponent:(nsinteger)component; { return [yourarray objectatindex:row]; }
if want picker nsstring, check row selected, , string @ corresponding row-index in yourarray
Comments
Post a Comment