I have a UITextview that has a phone number in it. I see when it detects it it turns it the standard link blue and underlines it. I just want to know how I can control that link state programmatically.
views:
597answers:
3
A:
If you want to keep the UITextView from converting the phone numbers to links, you can do this:
[textView setDataDetectorTypes:UIDataDetectorTypeNone];
Can Berk Güder
2009-12-25 19:20:46
A:
I'm sort of looking for the same answer but instead of the link being blue, how do I keep it activated and control the color of that link?
kbosu31
2010-01-19 19:29:03
A:
That wasn't the question that was asked. The question was how to change the color of the phone number. I'm having the same problem. The phone number is blue on a black background and I want to change the color of the phone number to yellow. How is this done?
Miriam Raphael Roberts
2010-03-23 16:05:58