I am using MPVolumeView to show AirPlay button. I need to show a custom wallpaper to Apple TV through mirroring with audio. Audio is playing properly on Apple TV but wallpaper image is not showing. I am using AVAudioController for playing audio. I have checked YouTube application in which screen mirroring is working from application for video playing. Is it possible to screen mirroring within the app using AVAudioController ?
Help me to solve this issue. Thanks in advance.
Try these steps firstMake sure that your AirPlay-compatible devices are turned on and near each other. Check that the devices are updated to the latest software and are on the same Wi-Fi network. Restart the devices that you want to use with AirPlay or screen mirroring.
To AirPlay photos and videos from your iPhone to your Apple TV, make sure AirPlay is enabled on your Apple TV. Then tap the AirPlay button on your iPhone and choose your TV. Finally, enter the code displayed on your TV. Connect both your iPhone and your TV to the same WiFi network.
Unfortunately, external display associated with AirPlay will only become active (and post appropriate notification) when you enable AirPlay mirroring in control panel. There appears to be no way to enable mirroring programmatically.
MPVolumeView can help user redirect audio to AirPlay speakers, it has nothing to do with display mirroring.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With