SSCWhatsAppActivity 1.2.2

SSCWhatsAppActivity 1.2.2

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2015

Maintained by Sascha Schwabbauer.


iOS 6.0+ is required.



Typical usage will look something like this:

NSString *stringToShare = @"This is a message I'd like to share via WhatsApp";
NSURL *urlToShare = [NSURL URLWithString:@""];

SSCWhatsAppActivity *whatsAppActivity = [[SSCWhatsAppActivity alloc] init];

UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[stringToShare, urlToShare] applicationActivities:@[whatsAppActivity]];

[self presentViewController:activityViewController animated:YES completion:nil];

Please note that you can only share instances of NSString, NSURL or UIImage. WhatsApp does not support sharing text and images at the same time, so as soon as you provide an UIImage all NSString and NSURL instances will be ignored. In addition you can only share one UIImage. Have a look at the demo app to see it in context.

Demo screenshot


Sascha Schwabbauer, [email protected]


SSCWhatsAppActivity is available under the MIT license. See the LICENSE file for more info.