Swift: How do I get access to the navigationController in AppDelegate
In custom functions use like this:
let navigationController = self.window?.rootViewController as! UINavigationController
In didFinishLaunchingWithOptions
:
let navigationController = application.windows[0].rootViewController as! UINavigationController