I have two PickerViews in my view, how do I set my delegates to identify which one to handle?
Some kind of if() to validate if the picker that threw the event was the pickerX or pickerY?
Any ideas will be appreciated.
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 can have IBOUtlets for the PickerViews like
and then in a delegate method do something like this
or you can set tags on the PickerViews in IB and do