SmartWKWebView
A WKWebView modal to show web pages, providing close button, title and url labels. Written in Swift.
Inspired by Instagram's web page component.
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, [email protected]
License
SmartWKWebView is available under the MIT license. See the LICENSE file for more info.