Question: how to connect your iphone to your mac wifi?
Answer: Open up the Bluetooth pane in System Preferences and scroll down until you see your iPhone, then click on Connect. A code will appear on both of your devices, click on Pair on your iPhone to pair both devices.