In the iOS operating system, there's a handy feature that's designed to let you quickly share your Wi-Fi password with a friend, and, if you're at a friend's house, to get the Wi-Fi password with just a tap.
There are two prerequisites to use this feature: you must be running iOS 11 or later and you and your friend need to have each other listed as contacts in the Contacts app. Here's how it works:
- When a friend is at your house, have them open up the Settings app.
- Tap on Wi-Fi, and let the iPhone look for available networks.
- Have your friend tap on the name of your Wi-fi network.
From there, you'll get a popup on your own iPhone that asks you if you want to share your password. Tap "Share Password" and your Wi-Fi password is automatically sent to your friend's iPhone and they're able to join your Wi-Fi network.