You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ You can provide a variety of extra customization options to `CodeScannerView` in
36
36
-`simulatedData` allows you to provide some test data to use in Simulator, when real scanning isn’t available. Default: an empty string.
37
37
-`shouldVibrateOnSuccess` allows you to determine whether device should vibrate when a code is found. Default: true.
38
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.
39
+
-`isTorchOn` turns on/off the phone’s torch/flashlight. Default: `false`
40
40
41
41
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.
0 commit comments