CameraView
@MainActor
open class CameraView : UIView
This is the default view that backs the CameraViewController.
-
default camerakit view to draw outputted textures
Declaration
Swift
@MainActor public let previewView: PreviewView
-
bottom bar below carousel
Declaration
Swift
@MainActor public let cameraBottomBar: CameraBottomBar -
Undocumented
Declaration
Swift
@MainActor public let hintLabel: UILabel -
top label to show current selected lens
Declaration
Swift
@MainActor public let lensLabel: UILabel -
View used for ring light effect.
Declaration
Swift
@MainActor public let ringLightView: RingLightView -
View that contains the buttons for various camera actions (flip, adjust, etc.)
Declaration
Swift
@MainActor public let cameraActionsView: CameraActionsView -
Control view for switching between flash and ring light as well as controlling ring light color and intensity.
Declaration
Swift
@MainActor public lazy var flashControlView: FlashControlView { get set } -
Label shown beneath the ring light control that provides a hint regarding dismissing the control.
Declaration
Swift
@MainActor public let flashControlDismissalHint: UILabel -
Control view for tone map adjustment that allows the user to adjust the intensity of the tone map effect.
Declaration
Swift
@MainActor public let toneMapControlView: AdjustmentControlView -
Label shown beneath the tone map control that provides a hint regarding dismissing the control.
Declaration
Swift
@MainActor public let toneMapControlDismissalHintLabel: UILabel -
Control view for portrait that allows the user to adjust the intensity of the portrait effect.
Declaration
Swift
@MainActor public let portraitControlView: AdjustmentControlView -
Label shown beneath the portrait control that provides a hint regarding dismissing the control.
Declaration
Swift
@MainActor public let portraitControlDismissalHintLabel: UILabel -
carousel to scroll through lenses
Declaration
Swift
@MainActor public let carouselView: CarouselView -
camera button to capture/record
Declaration
Swift
@MainActor public let cameraButton: CameraButton -
media picker to allow using photos from camera roll in lenses
Declaration
Swift
@MainActor public lazy var mediaPickerView: MediaPickerView { get set } -
message view to show updates when selected lens changes
Declaration
Swift
@MainActor public let messageView: MessageNotificationView -
Undocumented
Declaration
Swift
@MainActor public let snapAttributionView: SnapAttributionView -
Undocumented
Declaration
Swift
@MainActor public let activityIndicator: UIActivityIndicatorView -
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect) -
Undocumented
Declaration
Swift
@MainActor override open func layoutSubviews()
-
Undocumented
Declaration
Swift
@MainActor public func showMessage(text: String, numberOfLines: Int, duration: TimeInterval = 1.5)
-
Undocumented
Declaration
Swift
@MainActor func setupActivityIndicator()
-
Undocumented
Declaration
Swift
@MainActor var isAnyControlVisible: Bool { get } -
Undocumented
Declaration
Swift
@MainActor func hideAllControls()
-
Undocumented
Declaration
Swift
@MainActor func drawTapAnimationView(at point: CGPoint)