CameraConfigurableActionView
public class CameraConfigurableActionView : UIView
View to use for camera actions that can be enabled/disabled and configured via separate buttons.
-
Whether or not the action is currently configurable via a control view. If this is false, then the action can only be toggled on/off.
Declaration
Swift
public var configurable: Bool { get set }
-
Button used to enable/disable camera action. By default, this button has no image and it should be set.
Declaration
Swift
public lazy var toggleButton: UIButton { get set }
-
Button used to open/close the settings for the camera action. By default, this button has no image and it should be set.
Declaration
Swift
public lazy var configurationButton: UIButton { get set }
-
View that provides the stack view with its blurred background.
Declaration
Swift
public let blurEffectView: UIVisualEffectView
-
Undocumented
Declaration
Swift
public func collapse()
-
Undocumented
Declaration
Swift
public func expand()
-
Undocumented
Declaration
Swift
public override init(frame: CGRect)
-
Undocumented
Declaration
Swift
public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
public override func layoutSubviews()
-
Callback to enable the camera action when the toggle button is selected.
Declaration
Swift
public var enableAction: (() -> Void)?
-
Callback to disable the camera action when the toggle button is deselected.
Declaration
Swift
public var disableAction: (() -> Void)?
-
Callback to show the settings for the camera action.
Declaration
Swift
public var showActionSettings: (() -> Void)?
-
Callback to hide the settings for the camera action.
Declaration
Swift
public var hideActionSettings: (() -> Void)?
-
Callback to toggle the visibility of the settings for the camera action.
Declaration
Swift
public var toggleActionSettingsVisibility: (() -> Void)?