SFSafariViewController should provide means to specify excludedActivityTypes with activityItemsForURL: delegate

Originator:james.reggio
Number:rdar://23503333 Date Originated:11/11/2015
Status:Open/Duplicate Resolved:Duplicate of 21524275
Product:iOS SDK Product Version:iOS 9
Classification:Enhancement Reproducible:Always
 
[Want to discuss? Get in touch with me @jamesreggio.]

The safariViewController:activityItemsForURL:title: method on SFSafariViewControllerDelegate allows the developer to return an array of UIActivity instances to populate the resulting UIActivityViewController. However, it lacks a mechanism analogous to the excludedActivityTypes property on UIActivityViewController for excluding activities which may be implicitly added by the underlying system.

Apps with builtin OS support (e.g., Twitter, Facebook, Vimeo, and Flickr) may wish to provide an in-app sharing experience via a custom UIActivity returned from the safariViewController:activityItemsForURL:title: delegate method. However, without a mechanism for excluding the default OS sharing activity, the custom UIActivity is redundant.

Version:
iOS 9

Configuration:
iPhone

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!