chenzeyu / CZPicker

a picker view shown as a popup for iOS in Objective-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to provide pre-selected items

nitinhayaran opened this issue · comments

Currently there is no way to provide pre-selected items.

Possible use case:
If we save selected options on backend, then ideally Picker should be loaded with pre-selected options.

I think I figured out how to do it properly, will add soon.

added - (void)setSelectedRows: (NSArray *)rows; in 0.3.6