We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3722e14 commit 5e05332Copy full SHA for 5e05332
Sources/AppUpgrade/AppUpgradeAlert.swift
@@ -14,6 +14,7 @@ public struct AppUpgradeAlert {
14
15
let updateButton = UIAlertAction(title: updateButtonTitle, style: .default, handler: { (action) -> Void in
16
onUserUpdate(appId: appId)
17
+ UIApplication.shared.keyWindow?.rootViewController?.present(alert, animated: true)
18
})
19
20
alert.addAction(updateButton)
0 commit comments