Composing the answers of CodaFi and user1046037 :
Create a UIBarButtonItem with a Unicode character as the title.
You should initialize the UIBarButtonItem with the header ( initWithTitle: , not the system element ( initWithBarButtonSystemItem: .
You can set your own header with a string (for example, a unicode character).
You can resize the title.
UIBarButtonItem *settingsButton = [[UIBarButtonItem alloc] initWithTitle:@"\u2699" style:UIBarButtonItemStylePlain target:self action:@selector(showSettings)]; UIFont *customFont = [UIFont fontWithName:@"Helvetica" size:24.0]; NSDictionary *fontDictionary = @{NSFontAttributeName : customFont}; [settingsButton setTitleTextAttributes:fontDictionary forState:UIControlStateNormal];
GxocT Feb 20 '14 at 8:11 2014-02-20 08:11
source share