PreventUIAlertControllerfromdismissingonUIAlertAction我正在开发一个应用程序,我正在使用UIAlertController促进用户进行强制更新,在该应用程序中我不想允许用户执行任何活动,除非他从Appstore更新应用程序。为了实现这一点,我编写了以下代码。123456789if(needToUpdate) { varalert=UIAlertController(title:"NewVersionAvailable",message:"Thereisanewerversionavailablefordownload!Pleaseup