I want to add progress bar in swift iOS 8 UIAlertController. Is this possible? Is there any way to subclass UIAlertController and add progres bar and connect some delegate funct
func downloadAlert() {
let alertController = UIAlertController(title: "Title", message: "Loading...", preferredStyle: .Alert)
let progressDownload : UIProgressView = UIProgressView(progressViewStyle: .Default)
progressDownload.setProgress(5.0/10.0, animated: true)
progressDownload.frame = CGRect(x: 10, y: 70, width: 250, height: 0)
alertController.view.addSubview(progressDownload)
presentViewController(alertController, animated: true, completion: nil)
}