objective c - Get rid of the animation completion delay -


every time when use completion of animation, there kind of delay. how can make sure delay not there anymore?

this part of code:

[self dismissviewcontrolleranimated:yes completion:^ {   [presentingviewcontroller presentviewcontroller:load animated:yes completion:nil]; }]; 

do not dismiss animated if don't wish animate. if animate, completion fire when animation complete, hence delay.


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -