views:

662

answers:

1

I can't find a way to set the font size of the title in a custom UIBarButtonItem. The only way I can think of getting around this is to set it as an image which I would like to avoid. Any other suggestions?

+2  A: 

Create a UILabel and use -initWithCustomView:.

KennyTM
So do I pass the UIBarButtonItem into the UILabel and set the font normally? I might also have a problem with your method because I'm using Interface Builder to put the UIBarButtonItem into a UIToolbar.
Jim