In my iPhone application, I want to show the link inside my label in different color (like a hyperlink).
When someone clicks on the link, it should open the link in Safari browser.
How can I do so?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
hear is Two example sample code link is bellow hope its helps you:-
https://github.com/twotoasters/TTTAttributedLabel
http://furbo.org/stuff/FancyLabel_1.0.zip
OR you can also do like this way
Set userInteractionEnabled to YES of your label and add a gesture recognizer to it: