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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -