I\'m presenting an UIAlertViewController without any buttons, as it is supposed to just inform users that uploading is in progress. The app is supposed to upload some files
for swift you can do:
nameOfYourAlertController.dismiss(animated: true, completion: nil)
true will animate the disappearance, and false will abruptly remove the alert