Question: how to connect iphone to mac for 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.