UIButton – text truncated

You need to use the UIButton method setTitle:forState:

[self.myButton setTitle:@"Correct New Title" forState:UIControlStateNormal];

as this will correctly update the size and position of the buttons label. Where as just setting the title with self.myButton.titleLabel.text = @"Wrong New Title"; will not.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)