开发者

How to set view outlet for a UIViewController that contains a UITabBarController?

开发者 https://www.devze.com 2023-01-02 18:25 出处:网络
I have a UIViewController that contains a UITabbarController which contains a UINavigat开发者_JS百科ionController.

I have a UIViewController that contains a UITabbarController which contains a UINavigat开发者_JS百科ionController.

When I am setting up my IB outlets, what should the File's Owner view outlet be set to?


I think that it should be set to UITabbarController. Later, if you need to access to UINavigationController just call like this [tabBar.navigationController pushViewController:animated];

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号