Type Property


Contains a flag indicating whether a document must be copied before you use it.


static let openInPlace: UIApplication.OpenURLOptionsKey


When the value of this property is false, 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(_:open: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.