You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the navBar height was not being subtracted from the height of the master view, affecting a custom tabbar. Added the following code to make that work:
- (CGSize)splitViewSizeForOrientation:(UIInterfaceOrientation)theOrientation
{
// Other code
// Account for status bar, which always subtracts from the height (since it's always at the top of the screen).
height -= statusBarHeight;
// new code
if (!self.navigationController.navigationBarHidden) {
height -= self.navigationController.navigationBar.frame.size.height;
}
// end new code
return CGSizeMake(width, height);
}}
The text was updated successfully, but these errors were encountered:
I found that the navBar height was not being subtracted from the height of the master view, affecting a custom tabbar. Added the following code to make that work:
The text was updated successfully, but these errors were encountered: