ScannerSection
struct ScannerSection : View
This view is related to QR scanner where it draws the square on top of the camera
-
Declaration
Swift
var body: some View { get }
-
This function is used to draw the corners of the QR scanner
Declaration
Swift
private func createCornersPath( left: CGFloat, top: CGFloat, right: CGFloat, bottom: CGFloat, cornerRadius: CGFloat, cornerLength: CGFloat ) -> Path