UIPickerview filling the screen
- by Fischer
I want an UIPickerView that fills all the screen. This is the code i have ...
pickerView1 = [[UIPickerView alloc] init];
[pickerView1 setDelegate: self];
[pickerView1 setFrame: CGRectMake(0,0, 480, 320)];
[self.view addSubview: pickerView1];
This just fills the width, not the height, and I get this message in the output:
" invalid height value 320.0 pinned to 216.0 "
Why ? How can i adjust the height of the picker ???