开发者

UISplitView popup button not showing when put in a view controller

开发者 https://www.devze.com 2023-02-26 03:50 出处:网络
I took the apple standard example, MultiDetailView and just added a generic view controller in between the app delegate and the split view controller.

I took the apple standard example, MultiDetailView and just added a generic view controller in between the app delegate and the split view controller.

window > view controller > UISplitViewController

In terms of code, I just change from

[window addSubview:splitView.view];

to

[window addSubview:viewController.view];

and within the generic开发者_StackOverflow中文版 view controller subclass

[self.view addSubview:splitView.view];

However, the act of doing so makes the standard left popup button to disappear in portrait view.

How do I get the standard left popup button to appear again?

0

精彩评论

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