Open source web browser for iPhone, for in app browsing? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_JS百科Closed 7 years ago.
Improve this questionI'm building some kind of a twitter client, but when there's a link to web in a tweet, I want to be able to display it in my app without jumping to Safari.
Is there any open source project to do it? I know I can use UIWebView, but I want to get all the features like back button, forward button, refresh, progress bar, etc.
Most of the features that you want are fairly trivial to implement using a UIWebView
and a class that implements the UIWebViewDelegate protocol. Back, forward, stop, and refresh are all very easy, the only thing you can't get is an accurate progress bar. But you can detect when a page is loading and throw up a spinner or other generic loading graphic.
If you place a UIToolbar
above your UIWebView
with the appropriate icons on it and enable/disable/update them according to the messages that get passed to your UIWebViewDelegate
implementation you can easily get an in-app experience that very nearly approximates that of a full-fledged browser.
精彩评论