When scanning a QR code, you used to have to download a separate app, just meant for QR codes. But a couple years ago, Apple added it natively in the camera app for iOS. So here’s how to scan a QR code in the camera app.
How to Scan a QR Code from the Camera App

1) Open and point your camera at the QR Code, then click the notification.