Global Variable

UIApplicationOpenURLOptionsOpenInPlaceKey

A key that contains a flag indicating whether a document must be copied before you use it.

Declaration

const UIApplicationOpenURLOptionsKey UIApplicationOpenURLOptionsOpenInPlaceKey;

Discussion

When the value of this property is NO, you must copy the document to maintain access to it. If the flag is not set, you also must copy the document before you can use it.

If the document does not need to be copied, you can open it in place in your implementation of the application:openURL:options: method. For information about declaring whether your app wants the ability to open iCloud Drive documents in place, see the description of the LSSupportsOpeningDocumentsInPlace information property list key. For an example of an app that opens iCloud Drive documents in place, see ShapeEdit: Building a Simple iCloud Document App.