Returns a Boolean indicating whether the service can act on the specified data items.
- iOS 6.0+
- Mac Catalyst 13.0+Beta
An array of objects of varying types. These are the data objects on which the service would act.
YES if your service can act on the specified data items or
NO if it cannot.
The default implementation of this method returns
NO. Subclasses must override it and return
YES if the data in the
activity parameter can be operated on by your service. Your implementation should check the types of the objects in the array and use that information to determine if your service can act on the corresponding data.
UIActivity object calls this method when determining which services to show to the user.