본문 바로가기

iOS

iOS UILabel CornerRadius 해결 방법

아주 간단합니다.


를 하기전에

label.layer.cornerRadius = 4


를 해줍니다.^

label.clipToBounds = true