当我使用UIDocumentPickerViewController从iCloud中选择zip文件时,无法与助手应用程序通信

问题描述 投票:1回答:1

[只要我从应用程序中使用UIDocumentPickerviewcontroller从iCloud中选择文件,但它将在iPhone模拟器上显示此警报。

enter image description here

NSArray *types = @[(NSString*)kUTTypeArchive];
UIDocumentPickerViewController *docPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:types inMode:UIDocumentPickerModeImport];
docPicker.delegate = self;
docPicker.modalPresentationStyle = UIModalPresentationPopover;
[self presentViewController:docPicker animated:YES completion:nil];
ios objective-c icloud simulator uidocumentpickerviewcontroller
1个回答
0
投票

我认为这仅在新的Xcode 11.2.1 Simulator OS 13.2中存在问题。

因为我也尝试了Xcode 10.2和XS Max,所以正常工作。

在所有设备上正常工作,所以不用担心此警报。

希望苹果很快会解决。

© www.soinside.com 2019 - 2024. All rights reserved.