I\'m developing and iPhone 3.0 application. And I\'m trying to open web links in a UITextView into a UIWebView instead of Safari. But still no luck.
The UIText
This is an old question but incase anyone is looking for an updated way of doing this.
Assign your viewController that holds the UITextView as a delegate in your viewController's .m file and just add:
-(BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange{
//Do something with the URL
NSLog(@"%@", URL);
return NO;
}