Thanks so much for your kind help! It's really detailed.
Now I want to switch the control of my iPhone and computer freely. After I controlled my computer, I want to control my iPhone again. What should I do?
I also find that if I close the screen of my iPhone, the remote will stop. Is it right?
Finally, now I have to turn off my voice-over to use the TTS speech engine. When I turn on voice-over again, the remote will also stop. Therefore, I can only control one of the two devices. Is it right?