Skip to content

Commit 99cac37

Browse files
authored
Update README.md
1 parent 5e88643 commit 99cac37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ You can provide a variety of extra customization options to `CodeScannerView` in
3535
- `showViewfinder` determines whether to show a box-like viewfinder over the UI. Default: false.
3636
- `simulatedData` allows you to provide some test data to use in Simulator, when real scanning isn’t available. Default: an empty string.
3737
- `shouldVibrateOnSuccess` allows you to determine whether device should vibrate when a code is found. Default: true.
38-
- `videoCaptureDevice` allows you to choose different capture device that is most suitable for code to scan.
38+
- `videoCaptureDevice` allows you to choose different capture device that is most suitable for code to scan.
39+
- `isTorchOn` turns on the phone’s torch/flashlight.
3940

4041
If you want to add UI customization, such as a dedicated Cancel button, you should wrap your `CodeScannerView` instance in a `NavigationView` and use a `toolbar()` modifier to add whatever buttons you want.
4142

0 commit comments

Comments
 (0)