Question: how to connect wifi with nearby iphone?
Answer: Step 1: Add your friend to your Contacts app. On your iPhone, tap Contacts. Tap the Add button. ... 
Step 2: Turn on Bluetooth on both your iPhone and your friend's iPod Touch. Tap Settings. Tap Bluetooth. ... 
Step 3: With your device nearby, have your friend join your wi-fi network. On the iPod Touch, tap Settings. Tap Wi-Fi.