UIButton에 여러 줄 텍스트를 어떻게 추가합니까? 다음 코드가 있습니다 ... UILabel *buttonLabel = [[UILabel alloc] initWithFrame:targetButton.bounds]; buttonLabel.text = @"Long text string"; [targetButton addSubview:buttonLabel]; [targetButton bringSubviewToFront:buttonLabel]; ... 버튼에 여러 줄 텍스트를 가질 수 있지만 UIButton의 backgroundImage에 의해 텍스트가 항상 가려집니다. 버튼의 하위 뷰를 표시하기위한 로깅 호출은 UILabel이 추가되었지만 텍스트 자체는 볼 수 없음을 나타냅니다. 이것은 UIButton의..