@claude31 .postToWeibo is default built-in system activity types. It should be excluded. but this is not happening as expected. Weibo is still visible.
Post
Replies
Boosts
Views
Activity
I am excluding .postToWeibo but still I can see Weibo in the options. My code is
var activityViewController = UIActivityViewController(activityItems: [documentId+".pdf", pDfdata], applicationActivities: nil)
activityViewController.excludedActivityTypes = [.postToTwitter, .postToFacebook, .postToFlickr, .postToTencentWeibo, .postToVimeo, .postToWeibo]
present(activityViewController, animated: true)
Can you please let me know what is the reason for this?