Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

54 lines (31 loc) · 1.27 KB

SmartWKWebView

Version License Platform

A WKWebView modal to show web pages, providing close button, title and url labels. Written in Swift.

Inspired by Instagram's web page component.

demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 11
  • iOS 9.0 or higher
  • Swift 5.0

Installation

SmartWKWebView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SmartWKWebView'

Usage

Simple

import SmartWKWebView

let vc = SmartWKWebViewController()
vc.url = URL(string: "http://www.google.com/en")
present(vc, animated: true)

Author

barisatamer, brsatamer@gmail.com

License

SmartWKWebView is available under the MIT license. See the LICENSE file for more info.