Skip to content

iOS 7 prevenitng status bar overlap #89

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

3 participants

@vkanse
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.

@a6delali

just add 20 pixel to height in

  • (void)layoutSubviewsForInterfaceOrientation:(UIInterfaceOrientation)theOrientation withAnimation:(BOOL)animate
@wiistriker
  • (CGSize)splitViewSizeForOrientation:(UIInterfaceOrientation)theOrientation

height -= statusBarHeight;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.