Skip to content

barisatamer/SmartWKWebView

Repository files navigation

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.

About

A WKWebView modal to show web pages. Written in Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •