I have a problem with a view controller that contains a login form and an image (UIImageView) created using a storyboard.

I have created a segue that transition from view 1 (initial View) to login screen. View 1 is the initial View Controller on viewDidAppear() of view 1 I have called the performSegueWithIdentifier that transition to the login View.

The transition works fine but the login view is shown before it is fully loaded, so the image in the login screen and the boarder of the login form are not shown when the view appears, after 10 to 20 sec, they appear (there is no code that is being run during this time).

And when i set the login View Controller as the initial View Controller, every thing is loaded fine with no problem. Do you have any idea on how i can fix this? did anyone experience this before?

i am using swift + xcode 6.1.1