Search code examples
iphoneioscustom-controlsuipickerviewcontroller

Custom UIPickerController


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!


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