STCommonWebView
A common subclass of WKWebView
STCommonWebView is a common subclass of WKWebView.
Requirements
- iOS 9.0 or later (For iOS 9.0 before, maybe it can work, but I have not tested.)
- ARC
- Swift 5.0
Installation
STCommonWebView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'STCommonWebView'
Usage
Import headers in your source files
In the source files where you need to use the library, import the header file:
import STCommonWebView
Initialize STCommonWebView
STCommonWebView is a subclass of WKWebView. You can initialize it like WKWebView:
STCommonWebView(frame: frame)
Author
Suta, [email protected]