If I present an AlertController using self.present(alert, animated: true, completion: nil) then I can also check if that alert is onscreen using if self.presentedViewController == nil
When it is an alert controller presented by the system, self.presentedViewController is still nil even though there is an alert view on the screen.
Is there any way I can check for whether this alert is onscreen?