Link to home
Start Free TrialLog in
Avatar of CGVAK SOFTWARE
CGVAK SOFTWAREFlag for India

asked on

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.
Avatar of darbid73
darbid73
Flag of Germany image

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 '.
Avatar of CGVAK SOFTWARE

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of darbid73
darbid73
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will try this and let you know.
Yes. The solution helped us to find an exact solution for our need. Thank you.