JamesWebViewController
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
JamesWebViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'JamesWebViewController'
Usage
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let url = URL(string: "https://www.google.com")!
let webViewController = JamesWebViewController()
webViewController.webView.load(URLRequest(url: url))
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = webViewController
window?.makeKeyAndVisible()
return true
}
Author
mike, [email protected]
License
JamesWebViewController is available under the MIT license. See the LICENSE file for more info.