您可以使用帶有5個選項卡的tabBar控制器。在每個選項卡上有管理本節的其他視圖控制器導航控制器:
myTabBarController = [[UITabBarController alloc] init];
UIViewController *vc1 = [[UIViewController alloc] initWithNibName:name];
UINavigationController *nav1 = [[UINavigationController alloc] initWithRootViewController:vc1];
......
UIViewController *vc5 = [[UIViewController alloc] initWithNibName:name];
UINavigationController *nav5 = [[UINavigationController alloc] initWithRootViewController:vc5];
myTabBarController.viewControllers = [NSArray arrayWithObjects:nav1,...,nav5, nil];
[self.window addSubview:myTabBarController.view];
這樣的事情... 附:抱歉格式不好,希望你選擇一個想法。
我也有點困惑。倖存下來! – JFS 2013-05-03 16:11:56