Obtaining Attributed String in an Action Extension

Folks;

I have successfully implemented an iOS Action Extension which reads plain text from a user's selection.

Now I want to augment this to allow the user the call the action on RTF or HTML.

I have added NSExtensionActivationSupportsAttachmentsWithMinCount (1) and NSExtensionActivationSupportsAttachmentsWithMaxCount (3) to the ActivationRule. I have updated the ActionViewController to handle the itemProviders... BUT

guard let extensionItems = extensionContext?.inputItems as? [NSExtensionItem] else {...}

only shows 1 item of plainText...

What else do I need to do to allow my action to handle RTF or HTML?

Thanks for you time! Steve

In the event that anyone else is interested in this matter: I have reached the conclusion that Action Extensions are limited to plain text. The Extension ActivationRule (supportsText) while not declarative is certainly suggestive.

I found no means by which the extensionItemProviders would provide anything but plain-text.

If anyone can supply evidence to contradict this conclusion PLEASE provide such in this thread.

Obtaining Attributed String in an Action Extension
 
 
Q