Bejil
Bejil

Reputation: 432

iPad UISplitViewController view frame

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

In my app I'm using a tabBarController 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 ?

Upvotes: 1

Views: 1469

Answers (1)

MiguelB
MiguelB

Reputation: 1913

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.

Upvotes: 1

Related Questions