Before iOS 11, iPhone users had to download a third-party app in order to scan a QR code. However, this functionality is now built in and you can use the stock Camera app on the iPhone to scan as many QR codes as your heart desires.
Source: How-To Geek