Skip to content

Commit e8dc0a8

Browse files
author
Christian Neil Anthony Wico
committed
Update README.
1 parent 8bb9953 commit e8dc0a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ let viewController = BarcodeScannerViewController()
185185
viewController.cameraViewController.barCodeFocusViewType = .animated
186186
// Show camera position button
187187
viewController.cameraViewController.showsCameraButton = true
188+
// Set the initial camera position
189+
viewController.cameraViewController.initialCameraPosition = .front // Default is .back
188190
// Set settings button text
189191
let title = NSAttributedString(
190192
string: "Settings",

0 commit comments

Comments
 (0)