I\'m trying to create uialertcontroller in Config.swift file as follow.
uialertcontroller
Config.swift
static func showAlertMessage(titleStr:String, messageStr:St
If you want to present from AppDelegate windows you can use like this
UIApplication.sharedApplication().delegate?.window.rootViewController?.presentViewController(vc, animated: true, completion: nil)