Picker normally shows 5 items without scrolling. Is there a way to increase the size of the picker to show up to 8 items without scrolling. Please help.
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.
Kind of.
UIPickerViewscan only be a certain number of points tall (easy enough to find out what those are yourself), but you can fiddle around with the height of the items in theUIPickerViewusing the-pickerView:rowHeightForComponent:delegate method. If you return a small enough number, you could fit about 200 items in aUIPickerViewall at once. They’d all be a single point tall, but you get the idea…