Ok, so the exact line with the delay is the call to the segue?
I haven't done a segue programmatically, but it looks like it might not work:
http://stackoverflow.com/questions/9674685/creating-a-segue-programmatically
However, here's another post that seems to say different:
http://stackoverflow.com/questions/...y-and-pass-parameters-to-the-destination-view
Is there a reason you call the segue instead of just calling the view?
I really don't much about segues, but it might be a storyboard thing only.
You might want to look into settings of the segue, my understanding is that everything could be done in code.
Again, this assumes that you found the segue to be the point of delay. The easy test is to call the view direct without a segue.
Edit: From Apple: "However, a segue can also be triggered programmatically by your app, as long as the segue has an assigned identifier."
https://developer.apple.com/library...on/UsingViewControllersinYourApplication.html
Solution: call the view direct without a segue, then if that solves the problem, look at the settings of the segue.
I haven't done a segue programmatically, but it looks like it might not work:
http://stackoverflow.com/questions/9674685/creating-a-segue-programmatically
However, here's another post that seems to say different:
http://stackoverflow.com/questions/...y-and-pass-parameters-to-the-destination-view
Is there a reason you call the segue instead of just calling the view?
I really don't much about segues, but it might be a storyboard thing only.
You might want to look into settings of the segue, my understanding is that everything could be done in code.
Again, this assumes that you found the segue to be the point of delay. The easy test is to call the view direct without a segue.
Edit: From Apple: "However, a segue can also be triggered programmatically by your app, as long as the segue has an assigned identifier."
https://developer.apple.com/library...on/UsingViewControllersinYourApplication.html
Solution: call the view direct without a segue, then if that solves the problem, look at the settings of the segue.
Last edited: