iPhone mirroring and controlling

One of my clients is interested in developing a system similar to BrowserStack for internal team usage. Could you please guide me on how to approach the development of this system?

Specifically, the project requires:

  1. Full iPhone screen recording.
  2. Capturing and executing click events on the iPhone.

Do I need to obtain permission from Apple for these functionalities?

iPhone mirroring and controlling
 
 
Q