Skip to content

Commit c4cad38

Browse files
[iOS 26] Fix blocked product fields editing in iOS 26 (#16133)
2 parents 43675f8 + 6335050 commit c4cad38

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
-----
66
- [*] Order details: Display only physical items in the Shipping Labels section. [https://github.com/woocommerce/woocommerce-ios/pull/16127]
77
- [internal] Address deprecated view modifiers usage following iOS17 API updates [https://github.com/woocommerce/woocommerce-ios/pull/16080]
8+
- [internal] Fix back swipe gesture detection compatibility for iOS26 [https://github.com/woocommerce/woocommerce-ios/pull/16133]
89
- [internal] POS Modularization: Removed direct ServiceLocator usage within POS by requiring complex Woo app target dependencies to be injected via POS dependency protocols, and moved reusable dependencies to WooFoundation and Yosemite [https://github.com/woocommerce/woocommerce-ios/pull/16132]
910

1011
23.2

WooCommerce/Classes/Extensions/UINavigationController+Woo.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ extension UIViewController: NavigationSwipeBackHandler {
9595
/// This is necessary due to Swift 6 [SE-0364 proposal](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md).
9696
extension UIViewController: @retroactive UIGestureRecognizerDelegate {
9797

98-
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
98+
public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
9999
if gestureRecognizer.isEqual(navigationController?.interactivePopGestureRecognizer) && navigationController?.topViewController == self {
100100
return shouldPopOnSwipeBack()
101101
}
102102

103-
return false
103+
return true
104104
}
105105

106106
func handleSwipeBackGesture() {

0 commit comments

Comments
 (0)