I have a long press gesture set on a UITableView that presents a UIAlertController containing the cell\'s text. When the UIAlertController
UITableView
UIAlertController
I have had the same issue. I was able to fix it by this code:
if self.presentedViewController == nil { self.present(Alert, animated: true, completion: nil) } else { self.dismiss(animated: false, completion: nil) self.present(Alert, animated: true, completion: nil) }