开发者

IPhone - ViewSwitch Problem

HI everybody, I've got a problem with the view-switch. When first switching into the landscapeview everything seems to be ok, but switching back into the portraitview my view is scaled in the wrong way.

so the left picture shows how it should look like (and how it looks before the switch), and the right one shows how it actually looks after the switch:

http://img43.imageshack.us/gal.php?g=bild2mu.png

has anybody 开发者_高级运维an idea what I can do to fix it, thx a lot,

regard Mirrow


How do you make frame changing during rotation? just set autoresizingMask property of your table to UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth and it should be fine.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜