Closed MartinMoizard closed 7 years ago
Depending the way the application is built, getting the root view controller would eventually return a nil value.
nil
This fix makes sure to recursively iterate over subviews of the window to find the rootViewController.
Thanks!
Depending the way the application is built, getting the root view controller would eventually return a
nil
value.This fix makes sure to recursively iterate over subviews of the window to find the rootViewController.