I\'m trying to create uialertcontroller in Config.swift file as follow.
uialertcontroller
Config.swift
static func showAlertMessage(titleStr:String, messageStr:St
This is also the way you can present on top of the View Controller available.
UIApplication.topViewController()?.present(alertViewController!, animated: true, completion: nil)