UITabBarController を使っていて、タブが6個以上になると自動的に「more」(plist の Localization native development region の値により文言は変化)というタブが現れ、そのテーブルビュー経由で5番目以降のビューはアクセスされる。
すなわち5番目以降のビューは UINavigationView aware でなくてはならない。
で、more に戻る backBarButtomItem をカスタマイズの仕方。
self が UITabBarController だとして
方法1、文言だけの変更
ruby>>
self.moreNavigationController.rootViewController.title = @"HOKA";
<<--
方法2、イメージを貼る
ruby>>
self.moreNavigationController.rootViewController.navigationItem.backBarButtonItem = [ [ [ UIBarButtonItem alloc ] initWithImage:[ UIImage imageNamed:@"0.png" ] style:UIBarButtonItemStyleBordered target:nil action:nil ] autorelease ];
<<--
posted by
Saturn on Wed 8 Dec 2010 at 06:11 with 0 comments