What is the best way to check if a UIAlertController is already presenting?
问题 I have a tableview which, when loaded, each cell could possibly return an NSError, which I have chosen to display in a UIAlertController. Problem is I get this error in the console if multiple errors are returned. Warning: Attempt to present UIAlertController: 0x14e64cb00 on MessagesMasterVC: 0x14e53d800 which is already presenting (null) Ideally, I would ideally like to handle this in my UIAlertController extension method. class func simpleAlertWithMessage(message: String!) ->