【发布时间】:2011-01-17 17:30:06
【问题描述】:
view1 = [[View1 alloc] init]; //Create the first view
UINavigationController *navigationController1 = [[UINavigationController alloc] initWithRootViewController:view1];
navigationController1.navigationBar.tintColor =[UIColor blackColor];
View1 继承自 UIViewController。所以我创建了一个*view1,然后我创建了一个UINavigationController,调用*navigationController1。我如何将两者联系在一起?非常感谢
【问题讨论】:
标签: iphone uiview uiviewcontroller uinavigationcontroller