UIApplication

class UIApplication : UIResponder
  • Undocumented

    Declaration

    Swift

    class func topViewController(controller: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController?