We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ee7646 commit f931523Copy full SHA for f931523
1 file changed
TouchPrinter/TouchPrinter.swift
@@ -44,6 +44,9 @@ extension UIWindow {
44
dotWindow.rootViewController = UIViewController()
45
dotWindow.frame = UIScreen.main.bounds
46
dotWindow.isHidden = false
47
+ if #available(iOS 13.0, *) {
48
+ dotWindow.windowScene = UIApplication.shared.keyWindow?.windowScene
49
+ }
50
dotWindow.backgroundColor = .clear
51
dotWindow.addSubview(dot)
52
0 commit comments