IOS: open source browser UIWebView?

Does anyone know if there are any open source solutions that use UIWebview to create a complete browser? There is something similar in Tr20 when you pass in the url, but I assume there should be other alternatives.

I understand that UIWebView is a web browser, but the connection is to update, return button, URL bar, etc. take extra time.

Suggestions?

+4
source share
5 answers

SVWebViewController looks something like you're looking.

+10
source

I started an open source project (MIT license) to make something as close as possible to the MobileSafari native application (on iPhone and iPad).

Here are the functions so far:

  • Design next to Mobile Safari's native app (iOS 4.x) (for iPhone and iPad)
  • Bookmark support (bookmark folder support not yet implemented)
  • Support for mail links.
  • Print a web page.
  • Long tap handling (open or copy) with customizable menu

We invite everyone to contribute to this project!

You can clone / force the project here: https://github.com/sylverb/CIALBrowser

+5
source

https://github.com/ghostery/banshee

EDIT project is now supported here: https://github.com/acatighera/banshee

It is an open source browser with tabs, bookmarks, search, etc.

enter image description here

+5
source

UIWebView - Full Browser! To open the url in webView you do this -

 NSURL *url = [NSURL URLWithString:webAddress]; NSURLRequest *req = [NSURLRequest requestWithURL:url]; [webView loadRequest:req]; 

You can even insert javascript into a UIWebView . You can customize it to your liking.

 //To customize the look & feel... self.webView.scalesPageToFit = YES; self.webView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight; self.webView.autoresizesSubviews = YES; //To insert Javascript NSString *jsCommand = [NSString stringWithFormat:@"document.body.style.zoom = 0.5;"]; [self.webView stringByEvaluatingJavaScriptFromString:jsCommand]; 

You could do a lot more. Enjoy...

UPDATE: To get the back button and that’s it, webView provides these functions, back, forward, etc. all of these browser features. You need to encode the buttons and the user interface, and for the code you can do this -

 -(IBAction)goForward:(id)sender { [webView goForward]; } -(IBAction)goBack:(id)sender { [webView goBack]; } -(IBAction) gotoHome:(id)sender { NSString *urlAddress = @"http://google.com"; NSURL *url = [NSURL URLWithString:urlAddress]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestObj]; } 
+3
source

You can also check out KINWebBrowser, a drop in web browser for your applications. https://github.com/dfmuir/KINWebBrowser

Functions

  • Support for iOS 7 and 8 for iPhone and iPad
  • Customizable interface
  • Support for portrait and landscape orientation.
  • Use with existing UINavigationController or be present in mode
  • Download URL from NSURL or NSString
  • Delegation Protocol for Status Callbacks
  • The Action button allows users to copy the URL, open or open in Safari and Google Chrome.
  • Subclass support
  • Installation with CocoaPods
+1
source

All Articles