Skip to content

shien7654321/STCommonWebView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STCommonWebView

Language Platform Version License

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, shien7654321@163.com

License

MIT license.