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
Post a Comment