I make an application he has 2 design options, light and dark. So I want, for example, if the day then starts a light design and if the night is dark. But stuck in Splash Screen . You cannot set a class for it to make logic there. I did this: I deleted Splash Screen instead of it, I launch the usual ViewController , but first a black screen appears. Tell me how to do? Thank.

IOS 7 platform. *, Swift 2

    1 answer 1

    Splash Screen designed to "talk the teeth" to the user while the application is loading. Therefore, there can be no code there.
    Accordingly, if you ViewController it, it is shown "empty" while your ViewController , because it is part of the application.

    It will be correct to make a neutral Splash Screen , and then in the code as it should.