JSQWebViewController
A lightweight Swift WebKit view controller for iOS
NOTE: As of iOS 9, this library is no longer necessary.
You should probably use
SFSafariViewControllerinstead.
Requirements
- Swift 3.0
- Xcode 8
- iOS 8+
Installation
CocoaPods (recommended)
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'Carthage
github "jessesquires/JSQWebViewController"Documentation
Read the docs. Generated with jazzy. Hosted by GitHub Pages.
Generate
$ ./build_docs.shPreview
$ open index.html -a SafariGetting Started
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.
Contribute
Please follow these sweet contribution guidelines.
Credits
Created and maintained by @jesse_squires.
License
JSQWebViewController is released under an MIT License. See LICENSE for details.
Copyright © 2015 Jesse Squires.
Please provide attribution, it is greatly appreciated.

