We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425ad86 commit b5203b2Copy full SHA for b5203b2
2 files changed
Sources/DebugMenu/Extensions/UIApplication+.swift
Sources/DebugMenu/View/InAppDebuggerWindow.swift
@@ -45,7 +45,6 @@ public class InAppDebuggerWindow: UIWindow {
45
dashboardItems: [DashboardItem],
46
options: [Options]
47
) {
48
- let keyWindow = UIApplication.shared.findKeyWindow()
49
let window = factory()
50
window.windowLevel = UIWindow.Level.statusBar + 1
51
window.rootViewController = FloatingViewController(
@@ -55,10 +54,8 @@ public class InAppDebuggerWindow: UIWindow {
55
54
)
56
// visible時にディスプレイサイズと同じサイズだとスクリーンエッジの設定を決める対象に選ばれるので避ける
57
window.frame.size.width += 1
58
- window.makeKeyAndVisible()
+ window.isHidden = false
59
window.frame.size.width -= 1
60
-
61
- keyWindow?.makeKeyAndVisible()
62
windows.append(window)
63
}
64
0 commit comments