[只要我从应用程序中使用UIDocumentPickerviewcontroller从iCloud中选择文件,但它将在iPhone
模拟器上显示此警报。
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];
我认为这仅在新的Xcode 11.2.1
Simulator OS 13.2中存在问题。
因为我也尝试了Xcode 10.2
和XS Max,所以正常工作。
在所有设备上正常工作,所以不用担心此警报。
希望苹果很快会解决。