title: Network call in AppDelegate in Swift
body: <p>I am making a application in Swift in which I need to load data on the first screen from server. I don't want to show the loading... on the first screen. I want to do it before I show the first screen so either in <code>LaunchScreen</code> or <code>AppDelegate</code>. I have successuffy called the API in application function of <code>AppDelegate</code> but it is going to the first screen even I have not completed the network call so how can I delay to move to first screen until my network call completes in Swift.</p>