When I dynamically change the text of a UILabel I would prefer to get an ellipsis (dot, dot, dot) rather then have the text be automatically resized. How does one do this?>
Set the following properties:
Objective C
label.adjustsFontSizeToFitWidth = NO; label.lineBreakMode = NSLineBreakByTruncatingTail;
Swift
label.adjustsFontSizeToFitWidth = false label.lineBreakMode = .byTruncatingTail
You can also set these properties in interface builder.