gpt4 book ai didi

iphone - 奇怪的错误 : wait_fences: failed to receive reply: 10004003

转载 作者:可可西里 更新时间:2023-11-01 03:13:56 24 4
gpt4 key购买 nike

我知道还有其他问题可以解决此错误,但这些答案对我没有任何帮助。我想知道是否有人知道确切原因,如果没有人知道,这里是代码:

-(void) imagePickerController : (UIImagePickerController *) picker
didFinishPickingImage : (UIImage *) image
editingInfo : (NSDictionary *) editingInfo {

self.imageView.image = image;
[picker dismissModalViewControllerAnimated:YES];
[picker release];
//[self myNextResponder];
}

此错误:wait_fences: failed to receive reply: 10004003,在此方法退出后立即出现。我已经用谷歌搜索过了,但无法弄清楚。

最佳答案

您似乎将选择器对象用作 present/dismissModalViewController 的调用者。该文档建议使用“父” View Controller 。

对于“ parent ”,我使用了 self.navigationController(因为它不会去任何地方)

我的选取器委托(delegate)的取消方法的实现如下所示...

- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
{
// make sure the picker doesn't try to access the soon to die delegate
picker.delegate = nil;

[self.navigationController dismissModalViewControllerAnimated:YES];
[self.navigationController popViewControllerAnimated:YES];
}

关于iphone - 奇怪的错误 : wait_fences: failed to receive reply: 10004003,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1452422/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com