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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -