Question: how to transfer all the data from iphone 7 to iphone 11?
Answer: Turn on your new iPhone and place it near your current iPhone that's using iOS 12.4 or later. If you want to migrate data using a wired connection, connect the devices. The Quick Start screen appears on your current iPhone and offers the option of using your Apple ID to set up your new iPhone.