Question: how to transfer photos from iphone xr to macbook air?
Answer: Connect your iPhone, iPad, or iPod touch to your Mac with a USB cable.
Open the Photos app.
The Photos app shows an Import screen with all the photos and videos that are on your connected device. ... 
If asked, unlock your iOS device using your passcode.