Question

I have a project where I have a set data model (the model doesn't ever change) that I want to add into a UIPickerView.

I am trying to make this UIPickerView stretch from the top of the screen to the bottom of the screen, but when I set the frame, it won't go past a maximum height that is about half the screen.

I have looked into a couple custom UIPickerView classes, but have yet to find anything that will allow me to do this. It is a much that I am able to change the background image of the picker and also change the image for the selection.

Where can I find this? Any help would be great, thanks!

Was it helpful?

Solution

Apple doesn't provide much customization on the UIPickerView.But I think you can definitely depend on a tableview for the purpose.

Have a look at these

OTHER TIPS

Some custom classes can be found at this site here:

For Example at my search here I found 15 different customs UIPickerViews:

Try these, AFPickerView would probably be the most likely to work.


You could also do this by calling a subview thats bigger than the iOSDevice's screen, that holds a UIPickerView, this way you can do a hack move to allow for the biggest UIPickerView you want.

Try SBTableAlert, I was looking for a similar thing as you and found this to be a very good substitute. I was looking for something like phone number type selector list in contacts edit view, but was not able to find anything of the sort and seemed like it will take quite a bit of time to develop. SBTableAlert is a good option IMHO.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top