简体   繁体   English

App委托中的UITabBarController出口

[英]UITabBarController Outlet in App Delegate

i want to create an Outlet of UITabBarController in App Delegate File ,so that i can create a property of it . 我想在App Delegate File中创建UITabBarController的Outlet,以便我可以创建它的属性。 , but i am not be able to Connect it , can anyone suggest me . 但是我无法连接它,谁能建议我。 alos i am using storyboards and ARC. 我正在使用情节提要和ARC。

试试这个,然后再试一次。

@interface ClassName : UIViewController<UITabBarControllerDelegate>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM