How to do screen mirroring using AirPlay from the application (not from control panel) in iOS?

后端 未结 4 2060

I am using MPVolumeView to show AirPlay button. I need to show a custom wallpaper to Apple TV through mirroring with audi

4条回答
  •  长发绾君心
    2021-01-04 03:01

    You can find the documentation here: https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/WindowAndScreenGuide/UsingExternalDisplay/UsingExternalDisplay.html

    Basically it's about creating a 2nd UIWindow, if an external display is available. There you can show your wallpaper, which is an image, I assume. Should be simple to put that via an UIImageView into that 2nd UIWindow.

提交回复
热议问题