I\'m using UINavigationItem\'s titleView property to set a custom UILabel with my desired font size/color. Here\'s my code:
self.headerLabel = [[UILabel alloc] i
In stead of initWithFrame just use init and put [self.headerLabel sizeToFit] after your last line of code.
initWithFrame
init
[self.headerLabel sizeToFit]