开发者

iPad UISplitViewController view frame

开发者 https://www.devze.com 2023-03-20 06:09 出处:网络
I wonder how I can change a splitView.view.frame ? In my app I\'m using a tabBarContr开发者_如何学运维oller to display differents splitViews by tab.

I wonder how I can change a splitView.view.frame ?

In my app I'm using a tabBarContr开发者_如何学运维oller to display differents splitViews by tab. But I need to leave an empty space between my tabBar and my splitView to put another view.

I tried to change the splitView.view.frame but It doesn't work... any idea ?


This is from the Split View Controller section of the View Controller Programming Guide for iOS,

"The UISplitViewController class is a container view controller that manages two panes of information. The first pane has a fixed width of 320 points and a height that matches the visible window height. The second pane fills the remaining space."

So, I'd say you can't do it. But maybe someone else has a solution for this.

Word of advice, though: don't complicate your interface. Try and think of a better way to achieve what you are thinking of showing in that intermediate view. Maybe place it somewhere else or present it in some other way.

0

精彩评论

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