Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"];
- if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
- [[UIApplication sharedApplication] openURL: whatsappURL];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement