carloabelli
carloabelli

Reputation: 4349

UITextView Not Detecting Links

I have a UITextView whose content I have set in my .xib.

I am trying to get it to recognize a link using these settings:

Settings

Unfortunately the link does not show up when I run in the simulator (it only shows as plain text):

In simulator

How can I get the UITextView to recognize the link and display it properly?

Upvotes: 23

Views: 6338

Answers (1)

Toseef Khilji
Toseef Khilji

Reputation: 17419

Set your Textview behavior to Selectable ,

enter image description here

And make sure you have enabled User Interaction .

enter image description here

Upvotes: 56

Related Questions