Question: how to transfer files from laptop to iphone xr?
Answer: Visit iCloud.com on your computer > Sign in with your Apple ID (the one you use on your iPhone).
Choose "iCloud Drive" among the options.
Choose Upload on the top of your screen > Select files you want to send to your iPhone from the computer.