How do I get topmost ViewController?

In addition, you can check for UINavigationController and ask for its topViewController or even check for UITabBarController and ask for selectedViewController . This will get you the view controller that is currently visible to the user.

Sizin İçin Seçtik  What is a UIView?

Leave a Reply

Your email address will not be published. Required fields are marked *