Advertisement
Guest User

Untitled

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