제목에 두 줄의 텍스트가있는 UIButton (numberOfLines = 2) UIButtontitleLabel에 두 줄의 텍스트가있는를 만들려고합니다 . 이것은 내가 사용하는 코드입니다. UIButton *titleButton = [[UIButton alloc] initWithFrame:CGRectMake(15, 10, frame.size.width-100, 100)]; titleButton.titleLabel.font = [UIFont boldSystemFontOfSize:24.0]; [titleButton setTitle:@"This text is very long and should get truncated at the end of the second line" forState:UIControl..