Bug 247084

Summary: [iOS] WKWebView's back gesture doesn't work with Stage Manager
Product: WebKit Reporter: Ali Juma <ajuma>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: achristensen, bdakin, thorton, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ali Juma 2022-10-26 13:39:27 PDT
With Stage Manager enabled in iOS 16.1, WKWebView's back swipe gesture (the gesture that you get by setting WKWebView.allowsBackForwardNavigationGestures to YES) doesn't work, since swiping from the left edge brings up the Stage Manager UI instead.

This does work in Safari though, where swiping from the left edge shows the previous page and also exposes an arrow-like UI element for triggering Stage Manager's UI.
Comment 1 Tim Horton 2022-10-26 17:09:12 PDT
Apps can get the double-swipe behavior by adopting `preferredScreenEdgesDeferringSystemGestures` on UIViewController.