From 0a4e958b131caeea2d5d14e7e964d07ace36889c Mon Sep 17 00:00:00 2001 From: baegteun Date: Wed, 10 May 2023 23:33:09 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20::=20Navigation=20Delegate=20red?= =?UTF-8?q?uante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Extension/View+smsBackButton.swift | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Projects/Core/DesignSystem/Sources/Extension/View+smsBackButton.swift b/Projects/Core/DesignSystem/Sources/Extension/View+smsBackButton.swift index dea924af..70bd57e7 100644 --- a/Projects/Core/DesignSystem/Sources/Extension/View+smsBackButton.swift +++ b/Projects/Core/DesignSystem/Sources/Extension/View+smsBackButton.swift @@ -37,14 +37,3 @@ public extension View { .modifier(SMSBackButtonModifier(dismiss: dismiss, willDismiss: willDismiss)) } } - -extension UINavigationController: ObservableObject, UIGestureRecognizerDelegate { - override open func viewDidLoad() { - super.viewDidLoad() - interactivePopGestureRecognizer?.delegate = self - } - - public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool { - return viewControllers.count > 1 - } -}