UI 레이블에 빠르게 밑줄을 긋는 방법은 무엇입니까? 밑줄 긋는 방법UILabel스위프트에서?저는 오브젝티브-Cones를 검색했지만 스위프트에서 제대로 작동하지 못했습니다.NSA 속성 문자열을 사용하여 이 작업을 수행할 수 있습니다. 예: let underlineAttribute = [NSAttributedString.Key.underlineStyle: NSUnderlineStyle.thick.rawValue] let underlineAttributedString = NSAttributedString(string: "StringWithUnderLine", attributes: underlineAttribute) myLabel.attributedText = underlineAttributedString 편..