1

I am new to XCode. I was trying to use one pickerView and in that i wanted to show three different array data at different time. Like if i click on the button the picker view shows up with an array of data. Now when I click in background the pickerView goes away. Now I click different button and the same pickerView is populated with different array. I tried using [pickerView reloadComponent] but don't know how to use it properly. Can anyone please help me.

1 Answer 1

1

You have to change it's data source. In each of the button's target action set the new data source and reload the pickerview.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.