ios - How to detect if there is a Link in UILabel text and make it clickable - Swift -


i using uilabel contain text. text may contain links http://www.google.com or www.google.com or google.com. how detect these links , make text clickable open in browser. please advice. in advance.

you can use uitextview instead , set detection links:

textview.datadetectortypes = uidatadetectortypelink;  

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -