Skip to content

WebkitViewController is a simple WKWebView-based WebViewController with Zen mind.

License

Notifications You must be signed in to change notification settings

helioedge/WebkitViewController

Repository files navigation

WebkitViewController

Version License Platform

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.

Image

  • Toolbar with Next, Back, Reload, Action buttons/
  • Compatible with iPhone and iPad.
  • Responds to rotation.

Example

let URL = NSURL(string: "http://www.apple.com")
let webViewController = WebkitViewController(withURL: URL, withCachePolicy: nil, withTimeoutInterval: nil)
self.navigationController?.pushViewController(webViewController, animated: true)

Requirements

  • Swift 3.0 or later
  • iOS 8.0 and later
  • iPhone or iPad

Settings

  • Disable NSAppTransportSecurity for unlimited browsing.

Installation

pod "WebkitViewController"
Working on it.

Author

Masahiro Watanabe, [email protected]

License

WebkitViewController is available under the MIT license. See the LICENSE file for more info.

About

WebkitViewController is a simple WKWebView-based WebViewController with Zen mind.

Resources

License

Stars

Watchers

Forks

Packages

No packages published