Selective app extension removal (#677)

This commit is contained in:
June Park
2024-08-17 10:28:42 +09:00
committed by GitHub
parent d18482a04a
commit b4e18c50d3
4 changed files with 128 additions and 5 deletions

View File

@@ -1084,7 +1084,7 @@ private extension MyAppsViewController
message = NSLocalizedString("This will also erase all backup data for this app.", comment: "")
}
let alertController = UIAlertController(title: title, message: message, preferredStyle: .actionSheet)
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
alertController.addAction(.cancel)
alertController.addAction(UIAlertAction(title: NSLocalizedString("Remove", comment: ""), style: .destructive, handler: { (action) in
AppManager.shared.remove(installedApp) { (result) in