1

I'm customizing the font in the tab bar of my app with the following code:

[[UITabBarItem appearance] setTitleTextAttributes:
    @{UITextAttributeTextColor: [UIColor colorWithWhite:0.55 alpha:1],
      UITextAttributeFont: [UIFont systemFontOfSize:10]}
                                         forState:UIControlStateNormal];

This is working great except for the fact that upon startup, I can see the text for the tab bar items start above and to the left of their proper positions. Then, after a frame or two, the text jumps into place. This is by no means a deal breaker but the jumping text makes everything feel sloppy.

Has anyone seen this? Is there a workaround? I'm seeing this regardless of screen size/resolution.

Enrico Susatyo
  • 19,372
  • 18
  • 95
  • 156
salil
  • 407
  • 3
  • 14

0 Answers0