tobias
tobias

Reputation: 25

How to display a UIPickerView when selecting row in UITableView?

I have a UITableView with some rows in it. Is it possible to show a UIPickerView when tapping on a row in the table?

I want the UIPickerView to change its data depending on which row it the UITableView that is selected.

Upvotes: 0

Views: 1527

Answers (1)

krzyspmac
krzyspmac

Reputation: 605

If you set a delegate set for UITableView then that view will send you the appropriate delegate methods. From there you can reload your picker view. Click here to find out more.

edited: corrected link.

Upvotes: 1

Related Questions