Question: how to connect iphone to macbook via airplay?
Answer: On the iOS device, swipe up from the bottom bezel to open the Control Center. From the Control Center click AirPlay. Choose the Mac to which you wish to mirror from the list, then enable Mirroring.