Does your iPad have to be plugged into the adaptor for the remote (keynotes) on your iPhone to work

I cannot figure out if my Bluetooth is not working or if my ipad has to be plugged into the adaptor and the adaptor plugged into a projector for my iPhone to link to my ipad so I can use my iPhone as a remote on keynotes

Apple 30-pin to VGA Adapter

Apple 30-pin to VGA Adapter

Product No Longer Available

No Answers have been submitted