If you do not know the password for a Wi-Fi network in a friend's house or café, you'll need to ask about saving mobile data on your iPhone. If the owner of the hotspot can actually remember the password, it will be fine on the first try. If they do not remember, you may need to use cellular data. Fortunately, this whole process has become much easier in newer iOS versions.
This feature, introduced by Apple in iOS 11 and retained in iOS 12, is called "Share Your Wi-Fi" and does just that. If you want to connect to a friend's Wi-Fi network, but no one at the site can remember the password, you can immediately tap on the already connected device, the screen "Enter password" on your device and connect immediately. and nobody has to remember or enter any passwords.
Pretty cute, right? Never write and type complicated passwords for a long time. Do not worry anymore that a friend really knows his password. No stupid QR codes anymore. No ugly NFC tags anymore. No connection anymore. And all that is needed is either iOS 1
For this to work, iOS 11 (or higher) or MacOS High Sierra (or higher) will be required on both devices, and make sure both devices have Wi-Fi and Bluetooth enabled. If a device does not have at least iOS 11 or macOS High Sierra, it will not work.
As long as these requirements are met, it works, whether you have an iPad, iPhone, iPod touch, or Mac computer. In our case we use two iPhones as an example.
On the iPhone that requires Internet access, open the Wi-Fi settings and select the network you want to connect to. This must be exactly the same network that the other iPhone is already connected to. After you select it, the Enter Password screen appears.