Purchase a Lightning-to-HDMI adapter that matches your iPhone's port. Plug one end of the HDMI cable into the adapter and the other end into the projector's HDMI input. Connect the Lightning end of the adapter into your iPhone. The projector should detect the HDMI connection automatically.