UIApplication
Undocumented
-
Finds top view controller of the given UIVIew Controller
Parameter
Parameter base: UIViewController of which topViewController is requiredReturns
Top View Controller of the the given base controllerDeclaration
Swift
public class func topViewController(_ base: UIViewController) -> UIViewController?Parameters
baseUIViewController of which topViewController is required
Return Value
Top View Controller of the the given base controller
View on GitHub
UIApplication Extension Reference