How to change the color of a specific UITextView
link generated by the UIDataDetector
?
Asked
Active
Viewed 354 times
0

Larme
- 24,190
- 6
- 51
- 81

Patrick L.
- 526
- 6
- 24
1 Answers
1
On iOS 7 you can set the tintColor of the UITextView
. It affects the link color as well as the cursor line and the selected text color.
iOS 7 also added a new property to UITextView
called linkTextAttributes
which would appear to let you fully control the link style.
Thanks to @stonemonk in Can I change the color of auto detected links on UITextView?