Create Colored Clickable Link Between text in UIlabel Swift 4.2

Happy New 2019 although it's too late but i finally get a topic about what I want to post today. I have a solution for you guys who wants to make clickable link check it out. See this image when you click the link that has purple color you will redirect to external browser. I'll share the code, dont' worry :D

Code :

First Create CustomLabel.

Second Implementation, you can put it on ViewDidLoad().

Source :

If you have any questions, please feel free to ask :D.

Popular posts from this blog

How to restart the app with flutter Android and iOS

Missing system image Android Studio solution

How to have ConstraintLayout inside ScrollView and ScrollView inside ConstraintLayout Android