UITabBarController
4 つのタブがある があります。で別のビューから別UIViewController
のビューに移動するとUITabBarController
、下部のタブ バー項目が表示されず、画面の上下にスペースができます。どうすればそれを回避できますか。ストーリーボードを使用しています。
UIViewController
からに移動するときに使用しているコードは次のUITabBarController
とおりです。
HomePage *mvc=[self.storyboard instantiateViewControllerWithIdentifier:@"HomePage"];
[self presentViewController:mvc animated:YES completion:nil];
mvc.hidesBottomBarWhenPushed = NO;