开发者

Open source web browser for iPhone, for in app browsing? [closed]

开发者 https://www.devze.com 2023-02-24 03:28 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

I'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消