10

When I initialize the UIActivityViewController and disable all actions, I still see a More button under the actions bar. Is there a way to remove it?

UIActivityViewController More Button

This is how I initialize it:

let activityVC = UIActivityViewController(activityItems: objectsToShare, applicationActivities: nil)
activityVC.excludedActivityTypes = [UIActivityTypeAirDrop, UIActivityTypeAddToReadingList,UIActivityTypeCopyToPasteboard,UIActivityTypeSaveToCameraRoll,UIActivityTypePrint,UIActivityTypeAssignToContact,UIActivityTypeCopyToPasteboard]
rmaddy
  • 314,917
  • 42
  • 532
  • 579
xoail
  • 2,978
  • 5
  • 36
  • 70

1 Answers1

2

No, this is the button where the user choose to enable app extensions, and you are not allowed to hide extension the user chose to display

Power78
  • 311
  • 4
  • 12