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
Post a Comment