I am writing an App based on UITabBarController which has more than 10 viewControllers with corresponding UINavigationControllers. Each viewContoller has a (short) Title and a (long) navigationTitle. The short title shows up under the TabBar icon and the long title shows up on top of the navigation bar.
The UITabBarController displays the first 4 tabs and automatically adds a “More” tab which brings up a list of rest of the tabs. This list shows the (short) Title of each of the view controllers. How can I tell it to show the (long) navigationTitle instead?
I recently did this for an application and found the best way to do it was to create a custom data source that renamed the title in the more table to the long name. It is simply impractical to do it the other way because the names must be changed far too many times (once on tab bar load, once on more view load, and again on customized section load, and again on customized section close).
I found the basic instructions here and simply made it change the title. I use a plist to hold all of the short and long names for each section.
My code for the cellForRowAtIndexPath: