i've searched a solution but nothing.
My problem:
In AppDelegate i call:
window = UIWindow(frame: UIScreen.mainScreen().bounds)
var vc = ViewController()
self.window.rootViewController = vc
window.makeKeyAndVisible()
I need to call ViewController() where, in ViewDidLoad, i evaluate if the user is logged, then if yes i call an view controller (not implemented yet), otherwise i call AccessLoginViewController()in this mode:
let vc = AccessLoginViewController()
self.presentViewController(vc, animated: true, completion: nil)
and there i've then warning and AccessLoginViewController() does not appear...
Can you help me? What's wrong?