开发者

Adding new view to Window whilst in Landscape mode renders view in portrait mode

开发者 https://www.devze.com 2023-02-05 22:29 出处:网络
I am using Xcode\'s SplitView template in Landscape mode. In the AppDelegate I am adding a new view to the window whilst in Landscape mode however it appears in Portrait mode.

I am using Xcode's SplitView template in Landscape mode.

In the AppDelegate I am adding a new view to the window whilst in Landscape mode however it appears in Portrait mode.

I want it to be added in Landscape mode over the splitview.

My plist is set to Lan开发者_开发技巧dscapeLeft only.


[self.splitViewController.view addSubview:newController.view];

0

精彩评论

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