我是xcode开发中的新成员。我想创建一个不使用tabbar应用程序或使用故事板的自定义选项卡栏,我想以编程方式进行编辑。有可能。我已经通过这个Video Tutorial,但是当我试图释放标签时,出现错误。谁能帮me.Here是我的代码,xcode中的自定义tabbar
main_tab = [[UITabBarController alloc] init];
viewController1 = [[Firstview alloc] init];
viewController1.title = @"View 1";
UINavigationController *nav1 = [[UINavigationController alloc] initWithRootViewController:viewController1];
viewController2 = [[SecondView alloc] init];
viewController2.title = @"View 2";
UINavigationController *nav2 = [[UINavigationController alloc] initWithRootViewController:viewController2];
,我使用的Xcode 4.2
您是否在使用ARC? – MMMM
是的,我正在使用弧 – Shyantanu