A lightweight Swift WebKit view controller for iOS
NOTE: As of iOS 9, this library is no longer necessary.
You should probably use
SFSafariViewController
instead.
- iOS 8+
- Swift 2.0
use_frameworks!
# For latest release in cocoapods
pod 'JSQWebViewController'
# Feeling adventurous? Get the latest on develop
pod 'JSQWebViewController', :git => 'https://github.com/jessesquires/JSQWebViewController.git', :branch => 'develop'
github "jessesquires/JSQWebViewController"
Read the fucking docs. Generated with jazzy. Hosted by GitHub Pages.
More information on the gh-pages branch.
import JSQWebViewController
let controller = WebViewController(url: NSURL(string: "http://jessesquires.com")!)
let nav = UINavigationController(rootViewController: controller)
presentViewController(nav, animated: true, completion: nil)
See the included example app, open JSQWebViewController.xcworkspace
.
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.