我想在某些ViewController中设置白色barTintColor我设置了UINavigationBar.appearance().barTintColor对于所有默认颜色但是当我使用外观时whenContainedInInstancesOf这不会改变我的ViewControllerUINavigationBar.appearance(whenContainedInInstancesOf:[MyViewController.self]).barTintColor=.white有什么想法吗?我在我的ViewController中试过了self.navigationcontrolle