widgetPicker view compatibility fixes for low iOS versions

This commit is contained in:
True Zhuanjia
2026-04-26 16:42:15 +08:00
parent b258c58d59
commit c3cb31d443
2 changed files with 134 additions and 26 deletions
@@ -120,7 +120,7 @@ public final class WidgetPickerViewController: UIViewController {
overlayWindow.windowLevel = .alert + 1
overlayWindow.backgroundColor = .clear
overlayWindow.rootViewController = overlayHostViewController
overlayWindow.isHidden = false
overlayWindow.makeKeyAndVisible()
Self.overlayWindow = overlayWindow
loadViewIfNeeded()