xoail
xoail

Reputation: 3064

UIActivityViewController Hide More from Actions

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]

Upvotes: 10

Views: 3226

Answers (1)

Power78
Power78

Reputation: 331

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

Upvotes: 2

Related Questions