iOS Question share button?

ilan

Expert
Licensed User
Longtime User
is there any possibility to send from my app a link and choose different option like whatsup, email, sms,facebook...

i know that i can send a mail or sms but what about whatsup,facebook?
 

ilan

Expert
Licensed User
Longtime User
ok thanx, and how would it look like in b4i?

B4X:
NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"];
if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
    [[UIApplication sharedApplication] openURL: whatsappURL];
}

should i use the nativobject?
 
Upvote 0
Top