반응형
How to implement multiple link uilabel?
When you need multiple link in uilabel like below situation.
You could use textView instead.
First, add multiple link at specific range using attributed string.
Second, make sure textView delegate is set and isEditable property is false.
Finally, handle click event!
happy coding :)
반응형
그리드형
'개발 > swift' 카테고리의 다른 글
Swift Random Generator (0) | 2020.10.13 |
---|---|
Alamofire 5 Network Interceptor (0) | 2020.10.12 |
Swift navigation controller freeze on swipe gesture (0) | 2020.10.07 |
Swift IBInspectable and IBDesignable (0) | 2020.10.06 |
Swift validation (0) | 2020.10.05 |