iOS App-to-App Trasnmission of Data using new Document Support API

后端 未结 1 1191
渐次进展
渐次进展 2021-02-15 18:58

Problem:


Building Enterprise Applications of a Suite Nature, and need to be able to pass data from one application to another. Example: App1 is a barcode reader that
1条回答
  •  失恋的感觉
    2021-02-15 19:24

    I got it working last month. Here's my mental model:

    App1 creates a file anywhere in its sandbox.

    App1 calls docinteraction to display the "Open In" GUI for that file

    User picks "Open in App2"

    The iOS copies the file from one sandbox to the other and launches App2.

    App2 implements didfinishlaunchingwithURL and loads the supplied URL (which is the copy in its sandbox)

    0 讨论(0)
提交回复
热议问题