How to set text in a UITextView as a url link

I have some text in a UITextView that I would like to show as blue and serve as a link to a website. How to do this in the interface constructor?

+6
url iphone linker interface-builder
source share
1 answer

In the Builder interface, select UITextView, open the inspector, go to the "Text View Attributes" tab, then select the "Link Detection" checkbox.

This only works for items that look like links ( /fooobar.com / ... )

To create custom links you will need to use UIWebView.

+5
source share

All Articles