Detect if document is shared in iCloud Drive

Originator:adrian.schoenig
Number:rdar://47406322 Date Originated:19 Jan 2019
Status:Open Resolved:
Product:iOS Foundation Product Version:
Classification:Suggestion Reproducible:
 
Users can share the documents of a document-based app, if they are stored in iCloud Drive, using the Files app, `UIDocumentBrowserViewController`, `UIDocumentPickerViewController` or the `UIActivityViewController`.

*It would be great if the app could detect whether a particular file is shared and ideally, with whom.* This would allow the app to present custom UI indicators to show what files are shared and which are private to the user.

An appropriate place for this could be through `NSFileManager` or a convenience method in `UIDocument`.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!