Krumelur/MTSplitViewController — Issue #1: Size calculation issues
Author: robert-j
Created: 2011-11-02 10:37:54+00:00
State: open

Hi René,

I've found an issue with SplitViewRectangleForOrientation. There is actually no need to calculate the bounds manually, because the view will always expand to the maximum available size.

The calculation was wrong anyway, because it didn't take navigation and tabbar heights into account, when the splitviewcontroller was embedded in them.

This patch fixes the issue:

https://github.com/robert-j/MTSplitViewController/commit/e0242f5937f5759719fb79766c2736ece4d0fb60