I have trouble to display my UIAlertController because I\'m trying to show it in a Class which is not an ViewController.
I already tried adding it:
var
This should work.
UIApplication.sharedApplication().windows[0].rootViewController?.presentViewController(...)