I created an Iphone App that gets RSS Feeds from My YouTube Channel, My Blog and My Twitter. I works great except for when I click on any off the feeds such as one of my videos it takes me to Safari to watch it. Or when I click on one of my blog feeds it takes me to safari and opens my blog. Is their any way that I can have it open within my app so that I do not have to close safari and then re-open my app to view the rest?
+1
A:
The iPhone will, by default, open URLs in Safari. You can create a UIWebView to display a link in your app.
See the documentation here.
In short, you can create a view controller for your webview, and in the loadView method, do something like:
NSURL *url = [NSURL URLWithString:@"www.stackoverflow.com"];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView loadRequest:requestObj];
Rob Lourens
2010-03-11 03:58:34