Question: how to transfer data from iphone to iphone with qr code?
Answer: Using the camera on the old phone, scan the QR code that is displayed on the new phone. ... 
If prompted, on the new phone, tap Confirm to continue with the transfer.
On the old phone, select the desired media (e.g., Contacts, Photos, Videos, etc.)