只要在uitabbarController的代码中加入下面这段
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
self.view.frame = [UIScreen mainScreen].bounds;
}
只要在uitabbarController的代码中加入下面这段
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
self.view.frame = [UIScreen mainScreen].bounds;
}