PushViewController Leads To Black Screen

后端 未结 7 577
暗喜
暗喜 2020-12-10 13:46
SettingsViewController *viewController = [[SettingsViewController alloc] init];
    [[self navigationController] pushViewController:viewController animated:YES];
         


        
7条回答
  •  春和景丽
    2020-12-10 13:51

    Hi You've to set the top bar property (navigation bar) to inferred for the view controller. In my case I previously set the top bar as "Translucent navigation bar"

    Usually this happens you perform a segue from a modal view controller.

提交回复
热议问题