Hello,
For my UIActivityViewController activity share sheet, I've created a UIActivityItemProvider whose purpose is to share an NSString representing a URL over to the selected Activity.
In the activityViewController:dataTypeIdentifierForActivityType: method, I return kUTTypePlainText.
My activityViewController:itemForActivityType: and item methods return the NSString.
I'd like for the activity to show a thumbnail preview of a representation of my object at. However, my activityViewController:thumbnailImageForActivityType:suggestedSize: method never gets called.
I tried this with a number of different types of activities.
Any ideas why? Should it be possible to send an NSString to the activity (as opposed to an image type) and be able to have the thumbnailImageForActivityType: method get called?
The string shows up correctly in the chosen activity's share panel...but no thumbnail, because iOS didn't call me. 😟
I have a very small Xcode project that demonstrates the bevahior...email at the address below and I'd be be glad to send it to you.
Thank you.
-Allan
lagouyn_AT_gmail_DOT_com