Skip to content

Commit 3d6f3d5

Browse files
authored
Support scene (#1)
1 parent 89ed79b commit 3d6f3d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/InteractiveZoomDriver/InteractiveZoomDriver.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public class InteractiveZoomDriver<T: UIView> : NSObject, UIGestureRecognizerDel
8181

8282
if frontWindow == nil {
8383
frontWindow = UIWindow(frame: UIScreen.main.bounds)
84+
frontWindow?.windowScene = sourceView.window?.windowScene
8485
}
8586

8687
targetView.transform = .identity

0 commit comments

Comments
 (0)