iPad UISplitViewController view frame
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.
精彩评论