开发者

Autorotating on iPhone

In a few of my UIViews, I have a few UIImageViews and UILabels. They are in a good position when the UIView is in portrait mode, but the positioning on the UIImageViews and UILabels are messed up when the UIView becomes landscape mode.

H开发者_Python百科ow can I make sure that the UIImageViews and UILabels are in the correct place for both portrait and landscape mode?

Thanks.


Set autoresizingMask properly, this will solve your problem automatically.


You can do.Just Apply Transform to convert their x,y coordinate from landscape to portrait ,etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜