I am building with the release version of Xcode 7.0. No storyboards, just nib files.
I have a single UINavigationController
created by the app delegate
We had the same issue with UIAlertController
.
let alert = UIAlertController(title: "", message: "", preferredStyle: UIAlertControllerStyle.Alert)
alert.addAction(UIAlertAction(title: "OK", style: .Default, handler: {(action : UIAlertAction!) in
//some actions
} ))
I had forgot adding the following line. Below line solved the problem.
self.presentViewController(alert, animated: true, completion: nil)