iPhones and iPads running iOS 11 can scan QR Codes with the native Camera application. QR Codes are barcodes. The Camera app provides basic functionality for scanning QR Codes; advanced scanning features are available using a different applications.
Scanning QR Code with iPhone
Camera App Settings
To enable QR Code scanning in the Camera app, go to:
Settings > Camera and enable Scan QR Codes