Returns a Boolean indicating whether the service can act on the specified data items.
- iOS 6.0+
An array of objects of varying types. These are the data objects on which the service would act.
true if your service can act on the specified data items or
false if it cannot.
The default implementation of this method returns
false. Subclasses must override it and return
true 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.