开发者

How do I rotate my iPad application window to landscape in Xcode 4?

In Xcode 3, I was able to select the rotation arrow at the top left of the window to design the window for the application in landscape. However, I can't find the same 开发者_JAVA百科function in Xcode 4. Can anyone help please?

Thanks.


select your view, press cmd+option+0, click on the the shield icon "Show the attribute inspector" and then change Orientation to landscape.


The Window orientation is not very intuitive (since the view and the controller are both controlled by the orientation setting in the "Simulated Metrics" dialog). It's actually controlled at the four corners of the window displayed in the view editor. Just click and drag the corners of the window to resize it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜