Fixed Issue #100 #101

merged 1 commit into from Feb 15, 2013


None yet
2 participants

LeonS commented Feb 15, 2013

In method + (id)getRootViewController It was possible that another class than a UIViewController Class gets returned, so a call to presendtViewController:.... would result in a crash.
Iterating over subviews of UIWindow and checking if the responder is kind of UIViewController and only return it if the result is positive.

arashpayan added a commit that referenced this pull request Feb 15, 2013

@arashpayan arashpayan merged commit 38e6b69 into arashpayan:master Feb 15, 2013


This comment has been minimized.

Show comment Hide comment

arashpayan Feb 15, 2013


Thank you for the contribution!


arashpayan commented Feb 15, 2013

Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment