ios - How to Populate UITextView with value from UIPickerView? -


how populate uitextview value selected uipicker view. user selects category uipickerview , value displayed on uitextview.

you need implement delegate of uipickerview

-(void)pickerview:(uipickerview *)pickerview didselectrow:(nsinteger)row incomponent:(nsinteger)component{  // write code here  // yourtextfield.text = [yourarray objectatindex:row]; } 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -