Storyboards orientation support for xCode 4.2?

前端 未结 3 1861
清歌不尽
清歌不尽 2020-12-15 08:21

I upgraded to xCode 4.2 and it\'s new Storyboards feature. However, could not find a way to support both portrait and landscape.

Of course, I did it programmatically

3条回答
  •  半阙折子戏
    2020-12-15 09:22

    In XCode v4.2.1 when using StoryBoards you can only change the orientation of the View Controller, and not the View itself, so if you have inserted another view there you wouldn't be able to change it's orientation, even if you could see the View properly.

    So the previous way of having two Views would not appear to work when using StoryBoards (when using NIB's where the View Orientation is changeable for separate Views).

提交回复
热议问题