iPhone is on iOS 18 and airplay receiver is on and still nothing. I also tried restoring my AVP and setting it up from scratch but it still does not work.
Solved the issue. I thought you could airplay from the media controls in control center on the phone. Turns out there is a different dedicated button for screen sharing in control center.