Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 7 prevenitng status bar overlap #89

Open
vkanse opened this issue Sep 23, 2013 · 2 comments
Open

iOS 7 prevenitng status bar overlap #89

vkanse opened this issue Sep 23, 2013 · 2 comments

Comments

@vkanse
Copy link

vkanse commented Sep 23, 2013

I am using status bar in my app and wanted to maintain the compatibility between ios 6 and ios 7. I wanted status bar to behave same as ios 6. I don't want status bar to overlap view controllers while using MGSplitViewController.

Can any one please let me know how can i prevent MG SplitView to overlap status bar on view controllers.

By using the bestimmaa solution i was able to fix the view height issues, but still struggling to get status bar working.

Thanks.

@ghost
Copy link

ghost commented Sep 27, 2013

just add 20 pixel to height in

  • (void)layoutSubviewsForInterfaceOrientation:(UIInterfaceOrientation)theOrientation withAnimation:(BOOL)animate

@wiistriker
Copy link

  • (CGSize)splitViewSizeForOrientation:(UIInterfaceOrientation)theOrientation

height -= statusBarHeight;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants