Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
Is it possible to place "links" in a UITextView? I want certain lines to be underlined, and when clicked, allow the application to respond appropriately (not by launching Safari). Thanks.
 
Is it possible to place "links" in a UITextView? I want certain lines to be underlined, and when clicked, allow the application to respond appropriately (not by launching Safari). Thanks.

No, not in a textview. But you can change it to a UIWebView, and set up a custom url scheme for your app so that tapping on a link tells your app to do something...

The iPhone OS Programming guide used to talk about how to do this, although it looks like they've changed around some of the docco in the dev area.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.