Called when a document interaction controller needs to know whether the specified action can be performed on the associated document.
- iOS 3.2–6.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The document interaction controller managing an associated document.
The selector representing the action in question.
YES if the specified action is supported for the associated document or
NO if it is not. If you do not implement this method, the return value is assumed to be
When building the options menu (invoked, for example, by the user performing a long press gesture), a document interaction controller calls this method to find out if your app can perform various actions. If you implement this method for a given action, you must also implement the
document method for that action.
action selectors for this method are
print: selector is available in iOS 4.2 and later. Printing is supported only on devices that support multitasking.)
For each action that you implement in the
document delegate method, return
YES from this method if that action is available for the document.