Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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]
like image 263
xoail Avatar asked Mar 29 '15 18:03

xoail


1 Answers

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

like image 158
Power78 Avatar answered Sep 29 '22 02:09

Power78