matt
matt

Reputation: 534885

UIActivityViewController Options button

In a UIActivityViewController, where does the Options button come from? For example, here's how Safari presents the activity view:

enter image description here

Next to apple.com there's an Options button that lets the user choose a format for sending the data. How can I make that button appear in my app?

Upvotes: 9

Views: 336

Answers (1)

Léo Natan
Léo Natan

Reputation: 57040

It’s using private API.

https://developer.limneos.net/index.php?ios=17.1&framework=SafariServices.framework&header=UIActivityViewControllerObjectManipulationDelegate.h

@protocol UIActivityViewControllerObjectManipulationDelegate <NSObject>

@optional
-(BOOL)_customizationAvailableForActivityViewController:(id)arg1;
-(id)customActionViewControllerForActivityViewController:(id)arg1;
-(id)customLocalizedActionTitleForActivityViewController:(id)arg1;
@required
-(id)_customizationGroupsForActivityViewController:(id)arg1;
@end

Upvotes: 1

Related Questions