Surprisingly, there is no existing message for the button label.
Just do:
[btn setTitle:@"set dots at the end of UIButton if title is long" forState:UIControlStateNormal]; btn.titleLabel.lineBreakMode = NSLineBreakByTruncatingTail;
Access to the titleLabel button allows you to configure button label attributes if necessary when the direct UIButton method UIButton not exist.
source share