Custom message for "Add People" activity ignored

Originator:adrian.schoenig
Number:rdar://47406314 Date Originated:19 Jan 2019
Status:Open Resolved:
Product:iOS UIKit Product Version:
Classification:Bug Reproducible:Always
 
When a document-based app used `UIActivityViewController` and provides the URL to a document that is stored in iCloud Drive (e.g., use `UIDocument.fileURL`), the "Add People"/"Show People" activity will be available. This let's users share the iCloud Drive document with other users.

*It would be useful if this activity would pick up other activity items, in particular strings, so that a custom message can be passed on.*

Steps to reproduce:

- Present `UIActivityViewController` providing both the URL to a document that is stored in iCloud Drive as well as a string.
- Launch the app and tap the "Add People" activity.
- Select the message or mail option.

Expected result:

- The string is part of the message or mail, along with the default link to the shared document.

Actual result:

- The message or mail only consists of the default link to the shared document, the string is ignored.

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!