Stella Nguyen
Stella Nguyen

Reputation: 47

How to enlarge UILabel width (letter spacing) in Objective-C?

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

Answers (1)

Related Questions