开发者

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?

UIPickerView next to UIDatePicker not rendering per IB?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜