UIApplication sharedApplication – keyWindow is nil?

This code was executed before [window makeKeyAndVisible]; which is inside the app delegate.
So, no wonder why keyWindow was nil yet.

Leave a Comment