I am trying to set multiple selection for my pickerview does it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
UITableViewCellAccessoryCheckmarkaccessory view