Reputation: 534885
In a UIActivityViewController, where does the Options button come from? For example, here's how Safari presents the activity view:
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
Reputation: 57040
It’s using private API.
@protocol UIActivityViewControllerObjectManipulationDelegate <NSObject>
@optional
-(BOOL)_customizationAvailableForActivityViewController:(id)arg1;
-(id)customActionViewControllerForActivityViewController:(id)arg1;
-(id)customLocalizedActionTitleForActivityViewController:(id)arg1;
@required
-(id)_customizationGroupsForActivityViewController:(id)arg1;
@end
Upvotes: 1