Is there a way to hide the UIAlertView programmatically. I show the progress view in the mine, and when the progress view is 1.0, I want to hide the UIAlertView.
What you can do is observe (using key observation) the attribute progressin your progress view, and then when it reaches 1.0, send a message dismissWithClickedButtonIndex:animated:to the alert view.
progress
dismissWithClickedButtonIndex:animated:
I would use a UIActionSheet for this behavior. The user learns to manually disable the UIAlertView, and that just confuses them.
UIActionSheets are highly customizable to do whatever you need.
Source: https://habr.com/ru/post/1718394/More articles:Delphi 2009 - Handle when window is restored by double-clicking on SysMenu? - delphiAny way to insert a comment into a Tcl command? - commentsSimplification / reduction of the path - boostSQL Server Stored Procedures: Are They Queued? - sqlHow to do it using OOP - designTons of false positives from Django CSRF middleware? - djangoGet layout mode (landscape or portrait) pdf from php / linux - linuxHow to find if a PDF has an orientation or portrait - pdfUsing Fiddler to Measure Performance - asp.netHow to hide a Windows form, but keep the taskbar title for it? - c #All Articles