开发者

DatePicker control resizes when rotated

I have a landscape view that has a datePicker control on it, which was designed using IB. The datePicker control loads correctly the first time the view is loaded. If I dismiss th开发者_开发百科e view and then load the datePicker view again, without rotating the app back to portrait first, the control resizes. If I load the datePicker, dismiss it, rotate the phone to portrait, then call the datePicker again it works fine. Is there a way to trick the app into thinking it was rotated back to portrait without actually rotating it? Is there any other reasonable way to deal with this?


If you dont want to rotate it on orientation, you can transform it manually. Hope I understood correctly what you were trying to explain.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜