Question: how to connect iphone to macbook via wifi?
Answer: On your Mac, open the iTunes application. Connect your iPhone to your Mac with the USB cable. Click the iPhone button in iTunes, as shown below. ...  Select the Sync with this iPhone over Wi-Fi checkbox, as shown below.