Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:08:57+00:00 2026-06-14T05:08:57+00:00

When I push a new tableViewController from the starting screen of the iOS app

  • 0

When I push a new tableViewController from the starting screen of the iOS app (I push the Settings screen) the title in the UINavigationController gets clipped until the animation finishes:

enter image description here

That is the NavigationBar in mid animation, and just before the animation finishes, it looks like this:

enter image description here

After a moment, the title changes correctly to “Settings”. It’s not a big deal, but you can imagine how much it bothers a slightly OCD-prone programmer! 🙂

Here’s the code in the tableViewController where I set the title, nothing special:

- (id)initWithStyle:(UITableViewStyle)style
{
    self = [super initWithStyle:style];
    if (self) {
        self.title = @"Settings";
        // Hide tabBar when pushed so you cannot switch from the Settings
        self.hidesBottomBarWhenPushed = YES;
        self.tableView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bg.png"]];
    }
    return self;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:08:58+00:00Added an answer on June 14, 2026 at 5:08 am

    I’m a bit late with the answer, but I tracked down the issue on iOS 5.. When you use the UIAppearance proxy on UINavigationBar, it appears you need to explicitly set the font size, instead of using 0.0 to let it auto set based on orientation.

    I was able to fix this by subclassing UINavigationController and putting in the following code:

    - (void)viewWillLayoutSubviews {
        [super viewWillLayoutSubviews];
    
        // You should include a conditional here to check for iOS 5, so iOS 6 doesn't have to do any additional work
        self.navigationBar.titleTextAttributes = @{
            UITextAttributeFont:[UIFont boldSystemFontOfSize:UIInterfaceOrientationIsPortrait(self.interfaceOrientation) || IS_IPAD ? 20.0f : 16.0f],
            UITextAttributeTextColor:[UIColor whiteColor],
            UITextAttributeTextShadowColor:[UIColor colorWithWhite:0.0f alpha:0.5f],
            UITextAttributeTextShadowOffset:[NSValue valueWithUIOffset:UIOffsetMake(0.0f, -1.0f)]
        };
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an iOS app where I need to regularly push new levels
What I am trying to do is similar to Mail App settings' Add New
I have a navigation controller which I push a new tableviewcontroller for each received
On Heroku, as soon as you push new code, the web-serving instances restart... even
var arr1:Array = new Array(); arr1.push(item1); arr1.push(item2); arr1.push(item3); then arr1 and its elements get
I want to know that does apple's Push Notification Server generate new device token
I really like the visual effect where a new element seems to push an
Example: var arr_1:Array = new Array(); arr_1.push({sdate:2010-02-02,status:New}); arr_1.push({sdate:2010-02-03,status:New}); arr_1.push({sdate:2010-02-04,status:New}); arr_1.push({sdate:2010-02-05,status:New}); How can i change
Can anyone confirm that after changing the Apple Push Certificate to follow the new
I tried doing var div = document.createElement('div'); var nodeList = new query.NodeList(); nodeList.push(div); nodeList.children(.someClass);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.