Remove white screen that comes before opening custom camera in swift 4

I am trying to add custom camera functionality in my app following this tutorial.Appcoda custom camera

I am able to achieve all the functionailties of camera like taking photo,flash and switch camera but before the camera comes,white screen comes for a second.I want the camera to open directly .Kindly give some suggestion that how can I get the camera functionality directly without getting any white screen.

1 answer

  • answered 2018-04-17 05:07 Kartic

    That white screen in actually Launch Screen, which comes by default, if you wish to change that you may go to LaunchScreen.storyboard and change UI there.

    You can also remove LaunchScreen property in info.plist file, which is not advisable but that'll just display black screen instead of while while launching the App.