Pages

Sunday, 7 December 2014

How to share text to whats app in iOS





The Objective-C call to open one of these URLs is as follows:
NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"];
if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
    [[UIApplication sharedApplication] openURL: whatsappURL];
}
get the source for this support site of whats app

https://www.whatsapp.com/faq/iphone/23559013
-Amol Pawar


No comments:

Post a Comment