You can scan a QR code using the camera on your smartphone, tablet, or computer — however, you may need to download an app.
You can use your iPhone to scan documents, QR codes, and other files using the Notes app and your camera.