UIApplication
public extension UIApplication
Application+Accessable extracts the attributes related to the view in the app.
Version
1.5.0Date
08/05/2018-
The current view controller.
Declaration
Swift
var currentViewController: UIViewController? { get } -
The root view controller.
Declaration
Swift
var rootViewController: UIViewController? { get }
UIApplication Extension Reference