I have some viewControllers, and I don\'t use NavigationController. How can I get visible view controller in app delegate methods (e.g. appli
viewControllers
NavigationController
appli
If you are using IQKeyboardManager they have an extension in there
so you can do
application.keyWindow?.currentViewController? // <- there you go
so add this to your pod file
pod 'IQKeyboardManager' then pod update and you are away!
hope this helps