mikefrederick / MFSideMenu

Facebook-like side menu for iOS
Other
1.17k stars 291 forks source link

Empty space at the bottom of side view controllers in iOS 7 #166

Open HiveHicks opened 10 years ago

HiveHicks commented 10 years ago

The space's height is 20px, so I think it has something to do with status bar.

Here is the snapshot of MFSideMenuDemoBasic running in iOS 7 Simulator:

15 2014 10 20 34 ios

HiveHicks commented 10 years ago

Oops, sorry. This is a duplicate of #106

mikefrederick commented 10 years ago

@HiveHicks going to reopen this issue since it seems to be outstanding. Any idea why this is happening in the basic demo? I have been using the storyboard demo and that one has been fine. I will have to check it out.

HiveHicks commented 10 years ago

@mikefrederick I don't know, but I solved the issue by wrapping my side view controller into UINavigationController.

manonthemoon42 commented 9 years ago

Hi,

I still have this the space on the bottom of my left menu...

screen shot 2014-11-03 at 11 29 59

I use the last version of this pod. I tried to figure out how to fix it by checking other issues, I couldn't find any solution.

The only one thing that worked, was the solution of @fotisp on the isse #106, I've just updated a lil bit because his solution add an extra space on the top.

The solution I used :

- (void) setLeftSideMenuFrameToClosedPosition {
  ....
  ....
 if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) {
      CGRect statusBarFrame =  [[UIApplication sharedApplication] statusBarFrame];
      leftFrame.size.height = leftFrame.size.height+statusBarFrame.size.height;
 }
 ....
 ....
}

Any help please ?