How to bypass invalid height for UIPickerView?
===

I need a horizontal UIPickerView with the same width as the screen width (320p).
Since I had to rotate my UIPickerView 90 degrees, the desired width is actually the height.
And since I want the picker to be 320p wide I have to set it's height to 320.

But, xCode tells me 320 is an invalid height for the picker and sets it to 216 which seems to be the maximum value the height can take.

My question is, is there a way to bypass this?
Or does anyone have another suggestion on solving this problem?


Thanks in advance