setActionQueue:action:
Sets the action to perform on the specified dispatch queue when the slider’s value changes.
Declaration
- (void) setActionQueue:(dispatch_queue_t) actionQueue action:(void (^)(float newValue)) action;Parameters
- actionQueue:
A dispatch queue on which to call the action.
- action:
The action to perform in response to changes to the slider’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:)).