Synchronously perform an activity defined by a given block using the given options.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Options for the activity. See
Processfor possible values.
Info .Activity Options
A string used in debugging to indicate the reason the activity began.
A block containing the work to be performed by the activity.
The activity will be automatically ended after