All Projects → PandexLee → QWWebViewFullScreenPopGesture

PandexLee / QWWebViewFullScreenPopGesture

Licence: MIT License
An WKWebView's category to enable fullscreen pop gesture in an iOS8+ system style with AOP.

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to QWWebViewFullScreenPopGesture

Swiftui Webview
A SwiftUI component to use WKWebView
Stars: ✭ 158 (+393.75%)
Mutual labels:  wkwebview
WKWebView-Console
How to output console.log in Xcode (using wkwebview)?
Stars: ✭ 40 (+25%)
Mutual labels:  wkwebview
VHLWebView
微信/支付宝样式的网络浏览器控件。WKwebview 封装,js bridge和拦截url方式两种方法实现 oc和js交互
Stars: ✭ 14 (-56.25%)
Mutual labels:  wkwebview
Wkcookiewebview
WKWebView with cookie sharing support
Stars: ✭ 171 (+434.38%)
Mutual labels:  wkwebview
HTMLWithImagesToPDF
Generate a PDF from an HTML file containing images (iOS).
Stars: ✭ 38 (+18.75%)
Mutual labels:  wkwebview
HDEmptyView
一个Swift语言封装的EmptyView显示库,可作用于WKWebView、UITableView、UICollectionView 无网络提醒或者空数据提醒
Stars: ✭ 29 (-9.37%)
Mutual labels:  wkwebview
Flwebview
WKWebView with UIWebView fallback for iOS.
Stars: ✭ 145 (+353.13%)
Mutual labels:  wkwebview
FlexHybridApp-iOS
WebView bridge interface with Promise pattern
Stars: ✭ 17 (-46.87%)
Mutual labels:  wkwebview
WKBridge
Bridge for WKWebView and JavaScript
Stars: ✭ 70 (+118.75%)
Mutual labels:  wkwebview
cordova-plugin-wkkeyboardfix
Cordova plugin to provide a temporary fix for an iOS 12 and 13 bug involving keyboards in WKWebView.
Stars: ✭ 14 (-56.25%)
Mutual labels:  wkwebview
Wkwebviewwithurlprotocol
WKWebView With URLProtocol
Stars: ✭ 174 (+443.75%)
Mutual labels:  wkwebview
Wkwebviewextension
An extension for WKWebView. Providing menuItems delete 、support protocol 、clear cache of iOS8 and so on.
Stars: ✭ 182 (+468.75%)
Mutual labels:  wkwebview
SwiftyMercuryReady
Add a "reader" functionality to a WKWebView
Stars: ✭ 74 (+131.25%)
Mutual labels:  wkwebview
Pawebview
An component WebView for iOS base on WKWebView
Stars: ✭ 169 (+428.13%)
Mutual labels:  wkwebview
BridgeCommander
No description or website provided.
Stars: ✭ 24 (-25%)
Mutual labels:  wkwebview
Applemusicultra
Music Client for macOS. Upgrade your music experience with themes, styles, custom scripting and more. Uses WebKit and JavaScript.
Stars: ✭ 155 (+384.38%)
Mutual labels:  wkwebview
AppHostExample
a web-based project embeded AppHost
Stars: ✭ 16 (-50%)
Mutual labels:  wkwebview
FWDebug
iOS调试库,支持iOS11+,无需添加任何代码,方便iOS开发和测试。 iOS debugging library, support for iOS11 +, without adding any code to facilitate iOS development and testing.
Stars: ✭ 49 (+53.13%)
Mutual labels:  wkwebview
LitoMusic
A lightweight Apple Music client for Windows and macOS, built with MusicKit JS, Edge WebView2 / WKWebView and React.
Stars: ✭ 100 (+212.5%)
Mutual labels:  wkwebview
QuickWebKit
A great & strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器,您可以基于它设计您的浏览器插件,然后像积木一样来组装它们。
Stars: ✭ 29 (-9.37%)
Mutual labels:  wkwebview

QWWebViewFullScreenPopGesture

A WKWebView's category to enable fullscreen back/forward gesture in an iOS8+ system style with AOP.
0代码实现 WKWebView 滑动手势全屏返回和前进

OverView

overview gif

项目中同时用了 forkingdog/FDFullscreenPopGesture 和 WKWebView。
WKWebView是自带屏幕边缘滑动返回/前进手势的,为了统一交互体验,
我仿照 FDFullscreenPopGesture 为 WKWebView 写一个支持全屏滑动返回上一个页面的分类。
目前默认支持全屏右滑返回和全屏左滑前进

Usage

使用时只需要把文件分类加入工程即可,不需要做其他任何操作

想禁止个别 WKWebView 的手势可直接调用,不需要导入头文件    

webView.allowsBackForwardNavigationGestures = NO;

配合 FDFullscreenPopGesture 使用时要依赖手势

MYViewController.m  
    
- (void)viewDidLoad {   
    [super viewDidLoad];    
    UIGestureRecognizer * navGesture = self.navigationController.fd_fullscreenPopGestureRecognizer;  
    [navGesture requireGestureRecognizerToFail:self.webView.qw_fullscreenPopGestureRecognizer]; 
}

支持 iOS 8+

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].