Question: how to connect iphone to wifi with other iphone?
Answer: Open the Settings app.
Tap Wi-Fi.
Under Choose A Network…, tap the name of the network you would like to join.
Hold your iPhone or iPad close to another iPhone or iPad that is already connected to the WiFi network.