Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

make camera frame full view #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/SwiftUICam/CameraViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class CameraViewController: UIViewController {
public var allowBackgroundAudio = true

/// Specifies the [videoGravity](https://developer.apple.com/reference/avfoundation/avcapturevideopreviewlayer/1386708-videogravity) for the preview layer.
public var videoGravity: AVLayerVideoGravity = .resizeAspect
public var videoGravity: AVLayerVideoGravity = .resizeAspectFill

/// Sets whether or not video recordings will record audio
/// Setting to true will prompt user for access to microphone on View Controller launch.
Expand Down