0
基本上,这是当我点击左侧菜单按钮时发生的情况。左侧菜单重叠状态栏
http://i.stack.imgur.com/g7uq6.png
我希望它的状态栏下出现,而不是重叠的。
下面的代码:
HomeViewController.m
-(void)menuBarButtonItemClick{
mJUserAccountMenuViewController = nil;
mJUserAccountMenuViewController = [[MJUserAccountMenuViewController alloc] initWithNibName:@"MJUserAccountMenuViewController" bundle:nil];
mJUserAccountMenuViewController.delegate = self;
[self presentPopupViewController:mJUserAccountMenuViewController animationType:MJPopupViewAnimationSlideLeftRight];
}
mJUSerAccountMenuViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
leftMenuArrayy = [StaticDataCollection getSharedInstance].accountMenuArray;
backTOHomelabl.font = FONT_APP_DEFAULT_FONT;
backTOHomelabl.textColor = COLOR_WHITE_COLOR;
if (IS_IPHONE_5_SCREEN) {
[self.view setFrame:CGRectMake(0, 0, 250, 568)];
} else {
[self.view setFrame:CGRectMake(0, 0, 250, 480)];
}
}
谢谢。我设法通过更改子视图偏移值来修复它。 – 2014-09-04 04:53:25