mirror of
https://github.com/HackPlan/IQKeyboardManager.git
synced 2026-04-23 21:31:14 +08:00
Manually fixed by more simpler logic.
This commit is contained in:
@@ -95,7 +95,10 @@ Class UISearchBarTextFieldClass; //UISearchBar
|
||||
|
||||
UIViewController *topController = self.window.rootViewController;
|
||||
|
||||
[controllersHierarchy addObject:topController];
|
||||
if (topController)
|
||||
{
|
||||
[controllersHierarchy addObject:topController];
|
||||
}
|
||||
|
||||
while ([topController presentedViewController]) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user