I want to exclude Add to iCloud Drive, Add to Reading List, Save to Files & Print
from share sheet.
I could exclude Add to Reading List and Print options using following code. Because these type properties have been provided.
activityViewController.excludedActivityTypes = [ UIActivityType.print, UIActivityType.addToReadingList ]
After with when I search google I found a way to remove options which are not included in type properties as follows (Ex: Add to iCloud drive)
UIActivityType(rawValue: "com.apple.CloudDocsUI.AddToiCloudDrive")
I want to know that how can we find row values to exclude other options which are not defined in type properties. For instance Save to Files