Swift 从分享 sheet 操作中删除应用
Swift Remove app from the share sheet action
是否可以在代码中删除 Facebook 应用程序的分享 sheet 操作? (我不谈论删除应用程序或从编辑共享菜单操作中转 on/off)
let activityViewController = UIActivityViewController(activityItems: items,
applicationActivities: nil)
activityViewController.excludedActivityTypes = UIActivity.ActivityType.postToFacebook
NSArray *exclude = @[UIActivityTypePostToFacebook];
activityViewController.excludedActivityTypes = exclude;
是否可以在代码中删除 Facebook 应用程序的分享 sheet 操作? (我不谈论删除应用程序或从编辑共享菜单操作中转 on/off)
let activityViewController = UIActivityViewController(activityItems: items,
applicationActivities: nil)
activityViewController.excludedActivityTypes = UIActivity.ActivityType.postToFacebook
NSArray *exclude = @[UIActivityTypePostToFacebook];
activityViewController.excludedActivityTypes = exclude;