This bug is fixed by WhatsApp team on 23rd May, 2016 (build no. 2.16.4).
Unable to share NSString object using UIActivityViewController
to WhatsApp.
I tried to share using below code. But once contact is selected from the list, it shows an alert displaying "This item cannot be shared. Please select a different item.
"
CODE
NSString *shareText = @"Temp text to share";
NSArray *itemsToShare = @[shareText];
UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:itemsToShare applicationActivities:nil];
I am facing this problem after updating WhatsApp to version 2.16.2
Received a response from WhatsApp team
- WhatsApp Support -
Hi,
Sorry for the delay! We have received many emails recently, and we do our best to answer them all. Thank you for your patience.
Thank you for informing us about the issue; it will be fixed in a future version of WhatsApp. Unfortunately, we cannot comment on any future timelines, sorry. Thank you for your continued patience and support of WhatsApp.
Cheers, Hans
So, they acknowledge the bug and will fix this in the next release.
Possible Workarounds =>