CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

AFWebViewController 1.3

AFWebViewController 1.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Nov 2016

Maintained by Anders Fogh Eriksen, Anders Fogh Eriksen.



 
Depends on:
TUSafariActivity~> 1.0.4
ARChromeActivity~> 1.0.4
 

  • By
  • Anders Fogh Eriksen

In-app browser

Description

In-app browser for quick implementation in your app. Pretty much inspired by SVWebViewController. Uses WKWebView for a much faster browsing experience.

Requires iOS 8+

Podfile

platform :ios, '8.0'
pod 'AFWebViewController', '~> 1.0'

Usage example

Push AFWebViewController:

AFWebViewController *webViewController = [AFWebViewController webViewControllerWithAddress:@"https://google.com"];
webViewController.toolbarTintColor = [UIColor orangeColor]; // Does not work on iPad
[self.navigationController pushViewController:webViewController animated:YES];

Modal AFWebViewController:

AFModalWebViewController *webViewController = [AFModalWebViewController webViewControllerWithAddress:@"https://google.com"];
webViewController.barsTintColor = [UIColor redColor];
webViewController.toolbarTintColor = [UIColor orangeColor]; // Does not work on iPad
[self presentViewController:webViewController animated:YES completion:NULL];

Other iOS open source projects by me


Tip Me With ChangeTip