MacOS app that mirrors iPhone display

Hi,

I’d like to show an iPhone’s display within an app running o a Mac. The iPhone and the Mac will be colocated.

What should can I use for this. There seems to be a few options - ReplayKit, WebRTC, Airplay.

What’s the best approach or are there better options? Can you recommend any resources for learning how to do this?

Thank you