diff --git a/ios/Temp/UIViewController+ModalHelpers.swift b/ios/Temp/UIViewController+ModalHelpers.swift index c02001bc..4d1e740d 100644 --- a/ios/Temp/UIViewController+ModalHelpers.swift +++ b/ios/Temp/UIViewController+ModalHelpers.swift @@ -119,6 +119,11 @@ extension UIViewController { return window.currentModalLevel; }; + + public var modalMetrics: ModalViewControllerMetrics { + .init(viewController: self); + }; + public var presentationControllerMetrics: PresentationControllerMetrics? { self.presentationController?.presentationControllerMetrics; };