这是calling unwind segue from camera method fails的后续内容。以编程方式调用unwind segue时,如何在没有动画的情况下实现它?我正在寻找适用于这种特定情况的解决方案:
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
//... do work here and then
[picker dismissViewControllerAnimated:YES completion: ^{
[self performSegueWithIdentifier:@"myUnwindName" sender:self];
}];
}