diff --git a/ios/src_library/React Native/RNIModalView/RNIModalView.swift b/ios/src_library/React Native/RNIModalView/RNIModalView.swift index 26db1bf6..ac1e7530 100644 --- a/ios/src_library/React Native/RNIModalView/RNIModalView.swift +++ b/ios/src_library/React Native/RNIModalView/RNIModalView.swift @@ -619,7 +619,6 @@ public class RNIModalView: self.presentingViewController = nil; }; - private func notifyIfModalDismissCancelled(){ guard let modalVC = self.modalVC, let transitionCoordinator = modalVC.transitionCoordinator @@ -643,24 +642,6 @@ public class RNIModalView: }; }; - @objc private func handleGestureRecognizer(_ sender: UIPanGestureRecognizer) { - print( - "Test - handleGestureRecognizer - \(sender.state.description)" - ); - - if case .ended = sender.state { - self.modalVC?.transitionCoordinator?.animate(alongsideTransition: {_ in}) { - print( - "Test - handleGestureRecognizer" - + " - transitionCoordinator.animate" - + " - isCancelled: \($0.isCancelled)" - + " - percentComplete: \($0.percentComplete)" - + " - isInteractive: \($0.isInteractive)" - ); - }; - }; - }; - /// `TODO:2023-03-22-12-07-54` /// * Refactor: Move to `RNIModalManager` /// @@ -1151,10 +1132,6 @@ extension RNIModalView: RNIViewControllerLifeCycleNotifiable { self.modalPresentationNotificationDelegate .notifyOnModalWillShow(sender: self); }; - - if self.modalPresentationState.isInitialPresent { - self.setupOnModalInitialPresent(); - }; }; public func viewDidAppear(sender: UIViewController, animated: Bool) {