UINavigationController *homeNavController;
Class class_ = [YBHomePageViewControlleriPad class];
if(iPhone){
class_ = [YBHomePageViewControlleriPhone class];
}
class_ *homeController = [[class_ alloc] initWithNibName:NSStringFromClass(class_) bundle:nil];
homeNavController = [[UINavigationController alloc] initWithRootViewController:homeController];
显示 - “使用未声明的标识符 homeController”。
有什么办法吗?