setActionQueue(_:action:)
Sets the action to perform on the specified dispatch queue when the control’s value changes.
Declaration
@nonobjc func setActionQueue(_ actionQueue: DispatchQueue, action: @escaping (Int) -> ())Parameters
- actionQueue:
A dispatch queue on which to call the action.
- action:
The action to perform in response to changes to the control’s value.
Discussion
If the action modifies a property of the camera system, the specified dispatch queue must represent the camera system’s same exclusive execution context (see isSameExclusiveExecutionContext(other:)).