We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 910fdd7 + 2bd44c0 commit 5024e1eCopy full SHA for 5024e1e
Sources/TouchTracker/Cocoa/TouchTrackingUIView.swift
@@ -177,6 +177,8 @@ public class TouchTrackingUIView: UIView {
177
window.center = .init(x: location.x + offset.x,
178
y: location.y + offset.y)
179
window.windowScene = self.window?.windowScene
180
+ // WORKAROUND: Apply changes of orientation
181
+ window.rootViewController = .init()
182
window.isHidden = false
183
}
184
0 commit comments