Search code examples
iosswiftuipickerviewidentifier

How can i Identify different pickerViews?


My pickerViews all come from one pickerViewCell. I generate 5 of them and I need to know how i can identify all these 5 at the same time and get the indexPath.row from all of them.


Solution

  • you can set the tag property of each pickerView which is an integer that you can use to identify each