I've tried building a share intent for my iOS application but only the message and email share buttons appear, I want it to show everything that can send the link like in android it shows everything from facebook, twitter, whatsapp, messenger etc.
Im using this code
NSString *textToShare = [NSString stringWithFormat:@"www.njoftime.io/%@",[[NjoftimeManager getSelectedListing] objectForKey:@"_id"]];
NSArray *itemsToShare = @[textToShare];
UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:itemsToShare applicationActivities: nil];
activityVC.excludedActivityTypes = @[UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll]; //or whichever you don't need
[self presentViewController:activityVC animated:YES completion:nil];
I've seen some questuons here and some say either you share directly to facebook or this way.
Any idea?