开发者

There is any way to do multi selection in pickerview?

I am trying to set multiple selection for my p开发者_JAVA百科ickerview does it possible?


No, you can't do that with UIPickerView (anyway - selected item is always positioned on central row - it has to be the only one at least for that reason). You can make UIPickerView with multiple sections(columns) though and each section will have 1 selected item if that suit you.

The best option for multiple selection (imo) is UITableView with UITableViewCellAccessoryCheckmark accessory view

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜