在我的应用程序中,我有多个视图。我需要隐藏一个视图的状态栏( this vC2 is in order navigationC -> VC ->push to vC2)。它首先在plist中设置View controller-based status bar appearance = NO
然后在viewWillAppear中使用[UIApplication sharedApplication然后,我想在同一个应用程序中为另一个单一视图(VC3)设置
我有一个带有UINavigationController和UITabBarController的应用程序。我在UIView()中这样做,如下所示,这是在UITabBarController类中设置的: let fadeBackground然而,这会返回所有内容(包括UINavigationController和UITabBarController )上面褪色