WKWebViewExtension
WKWebViewExtension copied to clipboard
An extension for WKWebView. Providing menuItems delete 、support protocol 、clear cache of iOS8 and so on.
This repo will no longer be updated. The new versions has been moved to HybridPageKit as a submodule. Integrate ' HybridPageKit/WKWebViewExtension ' subspecs with Cocoapods.
WKWebViewExtension
Extended Reading | 中文 | 扩展阅读
An extension for WKWebView .
Providing WKWebView MenuItems delete
、 WKWebView support protocol
、 WKWebView clear cache or iOS8
and so on.
Together with ReusableNestingScrollview, sub repo of HybridPageKit, which is a general sulotion of news App content page.
Requirements
iOS 8.0 or later
Installation
-
CocoaPods
platform :ios, '8.0' pod 'WKWebViewExtension'
-
Cloning the repository
#import <WKWebViewExtensionsDef.h>
Features
-
DeleteMenuItems
iOS11 this issue has been fixed
WKWebView Support Delete System MenuItems Delete System Items Without cut/copy/paste/delete
-
SupportProtocol
WKWebView Support Protocol Like UIWebView
-
SafeClearCache
WKWebView Support iOS8 Clear All Cache
-
SafeScrollTo
WKWebView Safe ScrollTo Specific Offset Without Blank Screen by Runloop
-
SafeEvaluateJS
Safe Evaluate JS And Retainify Webview For CallBack, and Make Sure CallBack IS NOT null
-
ExternalNavigationDelegates
WKWebView Support Internal And Extenal Delegates
-
SyncConfigUA
Sync Config UA Without WKWebView
Licenses
All source code is licensed under the MIT License.