Question: how to connect my iphone to macbook air?
Answer: Be signed into the same iCloud account on all devices.
Have all devices connected to the same Wi-Fi network.
Turn on Bluetooth on both devices.
Turn on Handoff on both devices. ... 
On an iPhone, go to Settings > General > Handoff > move the Handoff slider to on/green.