UITabBarController有一个属性为viewControllers 下面的方法相当于重写UITabBarController中viewControllers属性的getter方法,self.viewControllers就是调用了viewControllers的getter方法 |
CYLTabBarController是怎么通过self.viewController访问该方法的?
最新推荐文章于 2024-04-29 10:06:13 发布
UITabBarController有一个属性为viewControllers 下面的方法相当于重写UITabBarController中viewControllers属性的getter方法,self.viewControllers就是调用了viewControllers的getter方法 |