我有UINavigationController,並且我已經將UIListView放入其中。現在我想要將多個BarButton添加到導航欄的左側。這怎麼可能?我設法通過代碼添加一個按鈕,但不是多個。iPad - 多個UIBarButtonItem
編輯:通過IB添加到UINavigationController的NavigationBar的按鈕根本不可見。什麼會導致這個問題?
I`ve在h文件創建的UINavigationController和在.M使用該推另一個視圖(即TableView中):
navigationController = [[UINavigationController alloc] init];
[window addSubview:[navigationController view]];
tableOfContents *tableOfContentsViewController = [[tableOfContents alloc] init];
[navigationController pushViewController:tableOfContentsViewController animated:NO];
[tableOfContentsViewController release];
編輯2:我解決第二個問題。所以第一個問題只剩下了。多個BarButtonItems ...