diff --git a/ios/src_library/React Native/RNIModal/RNIModal.swift b/ios/src_library/React Native/RNIModal/RNIModal.swift index ccc1b866..f1683ef2 100644 --- a/ios/src_library/React Native/RNIModal/RNIModal.swift +++ b/ios/src_library/React Native/RNIModal/RNIModal.swift @@ -118,6 +118,10 @@ public protocol RNIModalPresentation: AnyObject { /// Returns the modal view controller that is to be presented var modalViewController: UIViewController? { get }; + /// Returns the view controller that presented the `modalViewController` + /// instance. + var presentingViewController: UIViewController? { get }; + /// The "main" window for this instance var window: UIWindow? { get };