A light-weight webview controller using WKWebView. Support Safari-like reader mode.
A light-weight webview controller using WKWebView. Only supports iOS 9 and above.
Easy use and less memory consuming than RxWebViewController.
Support Safari-like reader mode.
Add
PFWebViewControllerto your
Cartfile:
github "PerfectFreeze/PFWebViewController"
Run
carthageto build this framework.
Add
PFWebViewController.frameworkto your Xcode project.
Add
PFWebViewControllerto your
Podfile:
pod 'PFWebViewController', '~> 1.1.1'
Run
pod installto install this framework.
Drag
Classesfolder to your project.
// Init with a string PFWebViewController *webVC = [[PFWebViewController alloc] initWithURLString:@"https://github.com"];// Or with an URL NSURL *url = ...; PFWebViewController *webVC = [[PFWebViewController alloc] initWithURL:url];
// Optional: Set Progressbar's Color, default is black [webVC setProgressBarColor:[UIColor redColor]];
// Present in a single view [self presentViewController:webVC animated:YES completion:nil];
// Or push in a navigationController [self.navigationController pushViewController:webVC animated:YES];
This project is released under the terms and conditions of the MIT license. See LICENSE for details.