요약: UIButton의 setAttributedTitle 함수를 이용해 해결한다. 여는 글 UIButton 내 titleLabel에 스타일 적용이 안되는 문제가 있었다. 이 글은 해당 문제를 해결하는 확실한 방법을 소개한다. 스타일 적용을 위해 button.titleLabel?.font를 통해 설정하는 것은 어느 것도적용이 안되었다. 코드는 다음과 같이 작성했다. button.setTitle("모음집 추가하기", for: .normal) b...

Markdown supported · ⌘↵ to post
No responses yet.