Change title of the "More.." navigation controller

Discussion in 'iOS Programming' started by sergio27, Jul 22, 2009.

  1. sergio27 macrumors member

    Joined:
    Nov 2, 2008
    #1
    When adding more than five view controllers in a Tab Bar Controller, the iPhone SDK automatically adds a "More..." tab to organize them.

    I found that Tab Bar Controller has a moreNavigationController property, and I changed the tint, but I would like to change the title from "More" to "Más", in Spanish, as in the "Music" app from Apple. Is that possible? Thank you.
     
  2. Szarlatan macrumors newbie

    Joined:
    Aug 11, 2009
    #2
    Yes, it is possible. Look at those two lines. They should help you.

    UINavigationBar *moreNavigationBar = tabBarController.moreNavigationController.navigationBar;
    moreNavigationBar.topItem.title = @"Your description";

    tabBarController is your UITabBarController
     
  3. sergio27 thread starter macrumors member

    Joined:
    Nov 2, 2008

Share This Page