callumboddy/CBZSplashView — pull request #3 by Mazyod (2014-08-07 12:10:40+00:00)
Title: Issue when adding the splash view in viewDidLoad

Hi,

Right now, sometimes you can only add the view in `viewDidAppear`. Trying to add it in `viewWillAppear` or `viewDidLoad` would not work, since the the key window is not yet available.

To solve this, I have changed the frame code to `[[UIScreen mainScreen] bounds]`. Now, the splash view can be added at an earlier stage of the app launch without any issues.

Maz