You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
I have watched a WWDC session recently. I think maybe use a NSItemProvider for UIActivityViewController is better.
https://developer.apple.com/videos/play/wwdc2015/224/
(from 08:00)
As this video shows, a NSItemProvider can register different items, for example, kUTTypePlainText or kUTTypePDF.
And text file does not have a default preview image in system's share action. NSItemProvider.previewImageHandler can let host app to provide one.
I never use a NSItemProvider before, so there is not a pull request from me, sorry about that.
The text was updated successfully, but these errors were encountered: