Link in Textview Or Label

We have an application to be developed in iPhone which has a screen which contains paragraph of content. Inside the paragraph, there may be some links for the word as like HTML, and when the user hits the link it should load the Table view to show the indexed list of items.
CGVAKAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
darbid73Connect With a Mentor Commented:
Here is an example of what I was thinking about.

intercepting a url click

Put a dummy url in and you then know what has been clicked and can then open your view instead of opening the web view.
0
 
darbid73Commented:
You have two options.  The first is to display the paragraph of content in a UIwebview, then the URLs are done for you.  The other is to use UITextView and setting the dataDetectorTypes property of the UITextView to 'UIDataDetectorTypeLink '.
0
 
CGVAKAuthor Commented:
Both the option mentioned are to open URL, but not to perform an event like button. As I mentioned clearly that the link should nagivate to a iPhone View Page but not to HTML page. Please advise.
0
 
CGVAKAuthor Commented:
Will try this and let you know.
0
 
CGVAKAuthor Commented:
Yes. The solution helped us to find an exact solution for our need. Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.