You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the window property of the UIApplicationDelegate is declared as optional. Thus, the above code leads to a crash when my application delegate does not implement the window method.
I suggest checking for existence of that method via -respondsToSelector: first and using [UIApplication sharedApplication].keyWindow otherwise.
The text was updated successfully, but these errors were encountered:
Line 857 of iRate.m currently contains this code:
However, the
window
property of theUIApplicationDelegate
is declared as optional. Thus, the above code leads to a crash when my application delegate does not implement thewindow
method.I suggest checking for existence of that method via
-respondsToSelector:
first and using[UIApplication sharedApplication].keyWindow
otherwise.The text was updated successfully, but these errors were encountered: