Prepares your service to act on the specified data.
- iOS 6.0+
- Mac Catalyst 13.0+Beta
An array of objects of varying types. These are the data objects on which to act.
The default implementation of this method does nothing. This method is called after the user has selected your service but before your service is asked to perform its action. Subclasses should override this method and use it to store a reference to the data items in the
activity parameter. In addition, if the implementation of your service requires displaying additional UI to the user, you can use this method to prepare your view controller object and make it available from the