jjzjj

Sourcemage

全部标签

ios - UIImage 和 prepareforSegue 无法传递图像

这里是我的代码:@property(weak,nonatomic)IBOutletUIImageView*chosedImage;-(IBAction)cropImageTap:(id)sender{[selfdismissViewControllerAnimated:YEScompletion:^{UIImage*pickedImage=self->_chosedImage;//[UIImageimageNamed:@"helloWorld.jpg"];[selfperformSegueWithIdentifier:@"gotomainimage"sender:pickedImage