iOS Question share button?

ilan

Expert
Licensed 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?
 
Top