我在Appdelegate.m中创建了一个方法-(void)setupTabBarController{//detailsgoeshere}现在在ABC.m中,我想访问setupTabBarController我已经包含了应用委托(delegate):#import"AppDelegate.h"然后:AppDelegate*maindelegate=[[AppDelegatealloc]init];[maindelegatesetupTabBarController];但是显示错误,Novisible@interfacefor'Appdelegate'declarestheselect