Swift ) label underline programmatically
안녕하세요 오늘은 제목 그대로 label underlien을 해보겠습니다. 코드는 너무 간단해서 붙여넣기하셔서 사용하셔되 될것 같아요 var text:String = "Hoxy, 언더라인 찾으세요?? " let attributedString = NSMutableAttributedString.init(string: "\(text)네맞아요") attributedString.addAttribute(NSAttributedString.Key.underlineStyle, value: 1, range: NSRange.init(location: text.count, length: 4)) attributedString.addAttribute(NSAttributedString.Key.foregroundColor, valu..
IOS
2020. 7. 22. 17:57
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- wwdc21 actor
- Swift check notch
- swift actor
- Bundle main infodictionary swift 4
- autoclosure
- Swift app version check
- 맛집
- Android
- How to get version swift
- android notification
- Sandbox account logout
- Sandbox account sign out
- iPhone X safe area size
- 샤브샤브
- SceneDelegate error
- [WindowScene] Failed to Error
- Swift button text underline
- Swift label underline storyboard
- Swift 노치 구분
- 쇼미더머니6
- Sandbox test login on
- 위메프
- swift autoclosure
- swift uitextfield 글자수 제한
- [WindowScene] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
- Swift button underline programmatically
- Swift 앱 버전
- Swift textField max length
- Swift version code
- firebase remote config
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함