Higher speed navigation according to the swift

0

I'm doing a pp that contains several screens and I have to navigate between them. The problem is that when navigating to some screens it takes too long for the other one to appear. How can I add more speed in transitions ???

My code:

func cancelar() {
    self.performSegueWithIdentifier("volver", sender: self)
}
    
asked by 02.09.2016 в 08:28
source

1 answer

0

The segue has the same speed in all the sites. Your problem is that some drivers are loading data when loading the screen, so until you load the data does not load the screen. Remember that it is advisable to make calls to webservices or database or other information at viewWillAppear or viewDidAppear

    
answered by 16.09.2016 / 15:34
source