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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…