Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Latest commit

 

History

History
89 lines (55 loc) · 2.85 KB

README.md

File metadata and controls

89 lines (55 loc) · 2.85 KB

No Maintenance Intended

NOTE: As of iOS 9, this library is no longer necessary.

You should use SFSafariViewController instead.

⚠ Deprecated ⚠

JSQWebViewController

Build Status Version Status license MIT codecov Carthage compatible Platform

A lightweight Swift WebKit view controller for iOS

screenshot        screenshot

Requirements

  • Swift 3.2+
  • Xcode 9+
  • iOS 8+

Installation

CocoaPods (recommended)

use_frameworks!

# For latest release in cocoapods
pod 'JSQWebViewController'
github "jessesquires/JSQWebViewController"

Documentation

Read the docs. Generated with jazzy. Hosted by GitHub Pages.

Generate

$ ./build_docs.sh

Preview

$ open index.html -a Safari

Getting 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.