malena
malena

Reputation: 948

Why is a modal Segue taking more than 4 seconds to present a new ViewController?

I am using IOS 9.0 and swift, and Xcode 7.1.1, and I am just doing something extremely basic, which is using a Segue in Interface Builder to show a new ViewController when a button is touched on the presenting view controller. And when i run the app on my iPhone, it takes just a little about 4 seconds for the transition to occur. Below are the options i chose for the Segue. I turned off "animation" because with animation the transition was even slower. So how can one control the speed of transition in Interface Builder or programmatically. This transition time is unacceptable, has anyone run into this?

enter image description here

Upvotes: 0

Views: 1170

Answers (1)

Huy Le
Huy Le

Reputation: 2513

Can you delete all things inside viewDidLoad , viewWillAppear, prepareForSeque of your destinated ViewController?

It isn't slow because of Animation or Speed of transaction. The problem is inside your code.

Upvotes: 1

Related Questions