Question: how to connect iphone to wifi with another phone?
Answer: Make sure that your device (the one sharing the password) is unlocked and connected to the Wi-Fi network.
Select the Wi-Fi network on the device you want to connect.
On your device, tap Share Password, then tap Done.