Im trying to update an UIImageView with a color based on data set in a UIPicker.
How do I do it on the action of the Picker’s data changing?
e.g., the user spins a component in the picker, and the change in data is automatically sent.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to implement the delegate method for the pickerView
– pickerView:didSelectRow:inComponent:That gets called anytime the pickerView changes and it is where you would perform your “action” after a change.