Text truncation - iOS

On iOS, you can avoid text truncation by seting the numberOfLines property to 0 on your UILabel. You should also avoid using fixed values for any heights or widths and instead use constraints and self-sizing.

let label = UILabel()
label.text = "Avoid text truncation"
label.numberOfLines = 0