ios - How to dismiss a view controller after getting response from two separate web services -


in current project came across situation need call 2 separate web services , dismiss present view controller once response both services. in advance.

@karthik reddy: use "if" conditional statement confirm when response , 'if' use following code dismiss view controller...

dismissviewcontrolleranimated(true, completion: nil) 

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) -