拍照后如何在没有动画工作的情况下放松segue

时间:2014-07-30 00:36:04

标签: ios objective-c modal-dialog uiimagepickercontroller segue

这是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];
  }];
}

0 个答案:

没有答案