WebkitViewController is a simple WKWebView-based WebViewController written purely in Swift.
- Basic navigation functions such as Next, Back, Reload, Action.
- Reacts to any orientation regardless of device type.
It tries to remain as minimum as what an in-app webView with basic function would be.
- Toolbar with Next, Back, Reload, Action buttons/
- Compatible with iPhone and iPad.
- Responds to rotation.
let URL = NSURL(string: "http://www.apple.com")
let webViewController = WebkitViewController(withURL: URL, withCachePolicy: nil, withTimeoutInterval: nil)
self.navigationController?.pushViewController(webViewController, animated: true)
- Swift 3.0 or later
- iOS 8.0 and later
- iPhone or iPad
- Disable NSAppTransportSecurity for unlimited browsing.
pod "WebkitViewController"
Working on it.
Masahiro Watanabe, [email protected]
WebkitViewController is available under the MIT license. See the LICENSE file for more info.