UIPickerView next to UIDatePicker not rendering per IB?
Why isn't the actually simulator rendering of my view not matching that in interface builder. I have a UIPickerView next to UIDatePicker looking good in IB, but not in the simulator. In particular the large gap inbetween, and the fact the right hand side fo the time picker goes off the edge of the s开发者_如何学JAVAcreen.
Any ideas?
This happens because UIDataPicker
always re-renders itself with a static bounds (one landscape mode, one for portrait). So you can change its position but not shape. I've bumped into this fact recently.
精彩评论