CaptureCamera

class CaptureCamera

A Utility class to create a custom camera

  • AVCapturePhotoOutput instance of the photo

    Declaration

    Swift

    public var photoOutput: AVCapturePhotoOutput?
  • Initialize a camera

    Declaration

    Swift

    init(_ homeView: HomeView, _ frame: CGRect)

    Parameters

    homeView

    a HomeView instance to display the camera

  • Setup the camera

    Declaration

    Swift

    public func setupCamera()