STCommonWebView is a common subclass of WKWebView.
- iOS 9.0 or later (For iOS 9.0 before, maybe it can work, but I have not tested.)
- ARC
- Swift 5.0
STCommonWebView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'STCommonWebView'
In the source files where you need to use the library, import the header file:
import STCommonWebView
STCommonWebView is a subclass of WKWebView. You can initialize it like WKWebView:
STCommonWebView(frame: frame)
Suta, shien7654321@163.com