iOS has a built-in feature that lets you quickly share Wi-Fi passwords between devices by getting them close together. It uses Wi-Fi, Bluetooth and every user's Apple ID to securely share the password between devices.
Sharing your Wi-Fi password can be a frustrating endeavor. If you have a complicated Wi-Fi password with letters, numbers, and special characters, it may be a real pain for your Aunt Edna to visit Thanksgiving. But from iOS 1
First of all, make sure both phones have Wi-Fi and Bluetooth. You can check these in Settings> Wi-Fi and Settings> Bluetooth. Just switch the slider to the position.
Secondly, make sure you both have each other's Apple ID under the "Email" section – this doesn't work otherwise! As a page number, this method works even if both devices use the same Apple ID.
Finally, connect one of the devices to Wi-Fi.
On Go to settings> Wi-Fi.
Touch the name of the network you
Unlock the other iOS device and hold it up to the device you connect to. The already connected device gets a prompt prompt to share the Wi-Fi password. Press "Share Password", and just then the connection device will get the password and connect.
That's it! The password box on the other device will auto-fill the password and connect.