NOTE: As of iOS 9, this library is no longer necessary.
You should use
SFSafariViewController
instead.
A lightweight Swift WebKit view controller for iOS
- Swift 3.2+
- Xcode 9+
- iOS 8+
CocoaPods (recommended)
use_frameworks!
# For latest release in cocoapods
pod 'JSQWebViewController'
github "jessesquires/JSQWebViewController"
Read the docs. Generated with jazzy. Hosted by GitHub Pages.
$ ./build_docs.sh
$ open index.html -a Safari
import JSQWebViewController
let controller = WebViewController(url: URL(string: "http://jessesquires.com")!)
let nav = UINavigationController(rootViewController: controller)
present(nav, animated: true, completion: nil)
See the included example app, open Example/Example.xcodeproj
.
Please follow these sweet contribution guidelines.
Created and maintained by @jesse_squires.
JSQWebViewController
is released under an MIT License. See LICENSE
for details.
Copyright © 2015 Jesse Squires.
Please provide attribution, it is greatly appreciated.