Reputation: 47
This is the code I am using for the UILabel title of my View Controller:
UIFont *bebasFont = [UIFont fontWithName:@"Bebas" size:100];
RestaurantsTitle.font = bebasFont;
RestaurantsTitle.text = @"RESTAURANTS";
and I need to enlarge the space between the letters of the title but I don't know how to do it.
Setting a width to the text field and not the frame would also work if that is also possible?
Upvotes: 1
Views: 177
Reputation: 535202
I need to enlarge the space between the letters
Use NSAttributedString and increase the kerning of the string.
Upvotes: 1