When I am integarting the Instagram in my project. I am getting a image
from UIImagePickerController
and after it i want to send i
For those needing/wanting the swift 3 version, here it is
viewController1.dismiss(animated: true, completion: {
self.present(self.viewController1, animated: true)
})
viewController1 is the viewcontroller you want to present.
Try..
double delayInSeconds = 1.0;
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
[self performSegueWithIdentifier:@"Identifier" sender:self];
});