Solved

Link in Textview Or Label

Posted on 2011-09-13
5
816 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:CGVAK
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:darbid73
ID: 36534169
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
 

Author Comment

by:CGVAK
ID: 36536603
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
 
LVL 19

Accepted Solution

by:
darbid73 earned 500 total points
ID: 36536770
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
 

Author Comment

by:CGVAK
ID: 36537212
Will try this and let you know.
0
 

Author Closing Comment

by:CGVAK
ID: 36909603
Yes. The solution helped us to find an exact solution for our need. Thank you.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now