我正在研究iOS App上的文件共享,我是新手UIDocumentPickerViewController.我不知道为什么我的应用程序崩溃了.
UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[@"public.image"] inMode:UIDocumentPickerModeImport];
documentPicker.delegate = self;
documentPicker.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:documentPicker animated:YES completion:nil];
Run Code Online (Sandbox Code Playgroud)
应用程序在突出显示的行上崩溃.
有没有人以前做过这个?我想像下面的附件一样做
我的任务是想要打开我的应用程序,当QR码开始扫描ios设备上的应用程序,如Android应用程序,如果检测到qr扫描,在结果它打开一些应用程序后,Android应用程序.