Reputation: 87
I'm not sure why this happen?.
Because in other projects, with the same lines, it worked perfectly.
Upvotes: 0
Views: 73
Reputation: 23902
Check your @IBOutLet
it's named market
Just change the name with
self.market.datasource = self
self.market.delegate = self
Check the declaration name of UIPickerView
.
Upvotes: 1