Question: how to transfer data from iphone to iphone over wifi?
Answer: Turn on your new device and place it near your current device that's using iOS 11 or later. ... 
Wait for an animation to appear on your new device. ... 
When asked, enter your current device's passcode on your new device.
Follow the instructions to set up Face ID or Touch ID on your new device.