SwiftUI QR Code Scanner - AVKit Camera View - SwiftUI Custom Camera - SwiftUI Tutorials
🕑 Added 2023-04-08 22:20:58 +0000 UTCSource Code For SwiftUI QR Code Scanner - AVKit Camera View - SwiftUI Custom Camera - SwiftUI Tutorials.
Download Code 👇
Comments
Kornel Krużewski
Can I scan a DataMatrix QR code with the GS1 standard? Scanned code: 91700083 10PAL89551 9563000. The prefixes are probably separated, but XCODE doesn't see it ;/
ycheng liang
Hi, i want to take a phoot when scan qr code。 the bouds is RoundedRectangle
Adri
you can use the @Environment(\.openURL) that we already have in the scanner view >> openURL(URL(string: [insert the scanned code or any URL here))
Adri
Great video! But I'm trying to get rid of the alert with the scanned code & ok button. Couldnt find in the video where this alert is implemented. Anyone?
Kavsoft
Is there any specific error listed on the console?Also, cameras will only work on actual devices; they will not work on simulators.
Mohammed Abdullah
When I run the application to run the scan, the camera does not work, I don’t know the reason
ryan liu
and could you help to enhance it with autofoucs? I do not knwo how to adjust the code for use diferent cameras and with autofoucs mode.
Juan Carlos Cortez Lopez
nice tutorial but i have a little question, why the camera is bugged when open the view using sheet, but works fine when use fullScreenCover?
ItsJustMeHere
So when I scan and get the OK alert view, how can we navigate to another view from there? Thanks, great work.