Skip to content

Instantly share code, notes, and snippets.

@warpling
Created November 24, 2016 07:42
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warpling/95194baf23dc9cd4d38b2ff783b57153 to your computer and use it in GitHub Desktop.
Save warpling/95194baf23dc9cd4d38b2ff783b57153 to your computer and use it in GitHub Desktop.
Extra UIActivityTypes
// UIActivityTypes
NSString * const UIActivityTypePostToInstagram = @"com.burbn.instagram.shareextension";
NSString * const UIActivityTypeFacebookMessenger = @"com.facebook.Messenger.ShareExtension";
NSString * const UIActivityTypeWhatsApp = @"net.whatsapp.WhatsApp.ShareExtension";
NSString * const UIActivityTypeTelegraph = @"ph.telegra.Telegraph.Share";
NSString * const UIActivityTypeGmail = @"com.google.Gmail.ShareExtension";
NSString * const UIActivityTypeTencent = @"com.tencent.mqq.ShareExtension";
NSString * const UIActivityTypeViber = @"com.viber.app-share-extension";
NSString * const UIActivityTypeTumblr = @"com.tumblr.tumblr.Share-With-Tumblr";
NSString * const UIActivityTypeSkype = @"com.skype.skype.sharingextension";
NSString * const UIActivityTypeKik = @"com.kik.chat.share-extension";
@ondev
Copy link

ondev commented Aug 26, 2019

even if add these active type to excludedActivityTypes, these activity show in the UIActivityViewController again.

@warpling
Copy link
Author

warpling commented Sep 4, 2019

@ondev I'm not sure you can exclude 3rd party activity types. I only uses these for mapping the share types to more readable names for analytics, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment