Torch Switch Control#
Defined in framework ScanditCaptureCore
-
SDCTorchSwitchControl
# @interface SDCTorchSwitchControl
: NSObject <SDCControl>Added in version 6.0.0
Control that allows to toggle the torch on an off. The torch switch control hides itself automatically in case the active frame source doesn’t have a torch.
You can add this control to a view by calling SDCDataCaptureView.addControl:.
-
torchOffImage
# @property (nonatomic, strong, nonnull) UIImage *torchOffImage
Added in version 6.2.0
Sets the image to use for the control button when the torch is off.
-
torchOffPressedImage
# @property (nonatomic, strong, nonnull) UIImage *torchOffPressedImage
Added in version 6.2.0
Sets the image to use for the control button when the torch is off and the button is pressed.
-