Manually fixed by more simpler logic.

This commit is contained in:
hackiftekhar
2015-05-29 00:57:52 +05:30
parent c4b6bf8cb2
commit b743cc0a43

View File

@@ -95,7 +95,10 @@ Class UISearchBarTextFieldClass; //UISearchBar
UIViewController *topController = self.window.rootViewController;
[controllersHierarchy addObject:topController];
if (topController)
{
[controllersHierarchy addObject:topController];
}
while ([topController presentedViewController]) {