我在一个教程中看到了这个声明,其中有人正在更改 UITabBarController 的外观。
UITabBarController *tabBarController = (UITabBarController *)self.window.rootViewController;
等号后面的第一部分是做什么的?更具体地说,
(UITabBarController *)
顺便说一句,在更改 UI 外观时,是否有一些关于哪些类相关的概述?我很难弄清楚什么时候打电话给什么。
非常感谢!