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

HippoMan

macrumors newbie
Original poster
Jul 19, 2008
14
0
I'm trying to implement hyperlinked text in a UITextView object in an iPhone app. Given the methods available in this class, this doesn't seem to be possible, but I'm wondering if there are tricks that can be performed in order to provide this capability.

I know about the UIWebView class, but I don't want to use it, because all it seems to offer is a browser-like view of a web page, which is too restrictive for my purposes.

I'm looking for a way to display text in a scrolling window with auto-wrap, and with the ability for me to treat a small number of words or phrases as clickable links. Once the user selects these, I'd like Safari to open up at the associated web address.

If this can't be done via UITextView, is there perhaps another way to provide something that functions more or less in this manner, perhaps using other UI objects?

Any hints, pointers to docs, or any other help would be greatly appreciated.

Thanks in advance.
.​
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.