Skip to content

Instantly share code, notes, and snippets.

@robksawyer
Last active August 3, 2026 17:48
Show Gist options
  • Select an option

  • Save robksawyer/544efe1c4dc7e4ce2fb9d3b589dde5a0 to your computer and use it in GitHub Desktop.

Select an option

Save robksawyer/544efe1c4dc7e4ce2fb9d3b589dde5a0 to your computer and use it in GitHub Desktop.
A list of UIActivity.ActivityType for modern apps.
let excludedActivityTypes = [
UIActivity.ActivityType.print,
UIActivity.ActivityType.openInIBooks,
UIActivity.ActivityType.copyToPasteboard,
UIActivity.ActivityType.addToReadingList,
UIActivity.ActivityType.assignToContact,
UIActivity.ActivityType.copyToPasteboard,
UIActivity.ActivityType.mail,
UIActivity.ActivityType.markupAsPDF,
UIActivity.ActivityType.postToFacebook,
UIActivity.ActivityType.postToWeibo,
UIActivity.ActivityType.postToVimeo,
UIActivity.ActivityType.postToFlickr,
UIActivity.ActivityType.postToTwitter,
UIActivity.ActivityType.postToTencentWeibo,
UIActivity.ActivityType.saveToCameraRoll,
UIActivity.ActivityType.message,
UIActivity.ActivityType(rawValue: "com.apple.CloudDocsUI.AddToiCloudDrive"),
UIActivity.ActivityType(rawValue: "com.apple.mobilenotes.SharingExtension"),
UIActivity.ActivityType(rawValue: "com.apple.reminders.RemindersEditorExtension"),
UIActivity.ActivityType(rawValue: "com.apple.mobilenotes.SharingExtension"),
UIActivity.ActivityType(rawValue: "com.amazon.Lassen.SendToKindleExtension"),
UIActivity.ActivityType(rawValue: "com.google.chrome.ios.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.google.Drive.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.google.Gmail.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.google.inbox.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.google.hangouts.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.iwilab.KakaoTalk.Share"),
UIActivity.ActivityType(rawValue: "com.hammerandchisel.discord.Share"),
UIActivity.ActivityType(rawValue: "com.facebook.Messenger.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.nhncorp.NaverSearch.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.linkedin.LinkedIn.ShareExtension"),
UIActivity.ActivityType(rawValue: "net.whatsapp.WhatsApp.ShareExtension"),
UIActivity.ActivityType(rawValue: "com.tinyspeck.chatlyio.share"), // Slack!
UIActivity.ActivityType(rawValue: "ph.telegra.Telegraph.Share"),
UIActivity.ActivityType(rawValue: "com.toyopagroup.picaboo.share"), // Snapchat!
UIActivity.ActivityType(rawValue: "com.fogcreek.trello.trelloshare"),
UIActivity.ActivityType(rawValue: "com.hammerandchisel.discord.Share"),
UIActivity.ActivityType(rawValue: "com.riffsy.RiffsyKeyboard.RiffsyShareExtension"), //GIF Keyboard by Tenor
UIActivity.ActivityType(rawValue: "com.ifttt.ifttt.share"),
UIActivity.ActivityType(rawValue: "com.getdropbox.Dropbox.ActionExtension"),
UIActivity.ActivityType(rawValue: "wefwef.YammerShare"),
UIActivity.ActivityType(rawValue: "pinterest.ShareExtension"),
UIActivity.ActivityType(rawValue: "pinterest.ActionExtension"),
UIActivity.ActivityType(rawValue: "us.zoom.videomeetings.Extension"),
]
@Soul-Clinic

Copy link
Copy Markdown

How can I do in React Native? 🥹

@zhouhao27

Copy link
Copy Markdown

How about Pages, Keynote and Numbers?

@xsleonard

Copy link
Copy Markdown

For "Save To Files": UIActivity.ActivityType(rawValue: "com.apple.DocumentManagerUICore.SaveToFiles")

@mrwatts88

Copy link
Copy Markdown

How can I do in React Native? 🥹

        Share.share(
            {
                message: 'Share me',
            },
            {
                excludedActivityTypes: ['com.apple.UIKit.activity.Message'],
            },
        );

@MonikaHurekatek

Copy link
Copy Markdown

Not Working iOS 16, iOS 17

@lawrluor

lawrluor commented Nov 4, 2025

Copy link
Copy Markdown

Anyone have success with hiding "Find products on Amazon"?

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