Problem with UIDocumentInteractionController iOS11 beta 4

I have a suite of applications (e.g. AppA and AppB ). Suppose AppA programmatically sends a zip file to another application. The AppA UIDocumentInteractionController tab displays the Copy to Application icon.

As soon as I AppB , it will send the zip file to AppB . The file will be copied to the required tht folder of AppB , and the control will go to AppA .
Thus, this feature works great on iOS 10.3.3.

However, on iOS 11 beta 2 and now on beta 4, this feature does not work. The document manager opens, and then it cannot load from above. Even if I click the Copy to Application icon to copy, it does nothing. In previous versions, I did not receive this message "Unable to load message" on the UIDocumentInteractionController tab at the top, as shown in the figure below

Image of a Doc controller.

I checked that the plist of both applications has LSApplicationQueriesSchemes

Update 1:

While debugging all delegate methods is called, for example, willBeginSendingToApplication and didEndSendingToApplication . When I submit this file to another application, I reject docContoller . Thus, it even calls the documentInteractionControllerDidDismissOpenInMenu call.

Thus, the docController indicator rejects and shows activity. Sending downloads to the application is displayed and stays there forever. AppB does not start.

New results on iOS 11 beta 5

The message Unable to load on the UIDocumentInteractionController no longer present. However, when you click the AppB icon AppB problem remains.

+6
ios11
source share
1 answer

I saw this problem when the file to be copied is in the application bundle. With iOS 10, it worked just fine from the package.

In iOS 11, the file in the application bundle perfectly copies Apple applications, not third-party applications. Copying the file from the package to the tmp folder, then using this file and everything works.

0
source share

All Articles