Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reducing the height when the VC is added to a UITabbarController.

  • Loading branch information...
commit 836cff5d260e385bbb031caab049bad955cc2a5d 1 parent 580747f
@cheolhee authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Classes/MGSplitViewController.m
View
4 Classes/MGSplitViewController.m
@@ -243,7 +243,9 @@ - (CGSize)splitViewSizeForOrientation:(UIInterfaceOrientation)theOrientation
// Account for status bar, which always subtracts from the height (since it's always at the top of the screen).
height -= statusBarHeight;
-
+ if (self.tabBarController) {
+ height -= 49.0f;
+ }
return CGSizeMake(width, height);
}
Please sign in to comment.
Something went wrong with that request. Please try again.