0

I want to make some text clickable in uilabel.

Here is the text where Privacy Policy and Terms of Service should be click-able.

By tapping to continue you are indicating that you have read the Privacy Policy and agree to the Terms of Service.

Can any one help me!!!!

Sonu
  • 937
  • 1
  • 10
  • 39
  • It's easier to have a transparent `UIButton` over it. – Raptor Mar 02 '15 at 05:28
  • yeah,bt want to learn uitapgesturerecognizer – Sonu Mar 02 '15 at 05:29
  • possible duplicate of [Is it possible to attach UITapGestureRecognizer to UILabel subclass](http://stackoverflow.com/questions/6355650/is-it-possible-to-attach-uitapgesturerecognizer-to-uilabel-subclass) – Raptor Mar 02 '15 at 05:30
  • and also want to open two different screen on tapping Privacy Policy and Terms of Service – Sonu Mar 02 '15 at 05:30

1 Answers1

0

You can also use NSAttributedString for your purpose.

Add URL Link to "Privacy Policy" and "Terms of Service" text and on click on any particular text you can perform any action you want.

You can refer to this answer for more help.

Community
  • 1
  • 1
Yuvrajsinh
  • 4,536
  • 1
  • 18
  • 32