Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bbc6bae9/airplay

airplay sample for both AppDelegate & SceneDelegate
https://github.com/bbc6bae9/airplay

Last synced: 28 days ago
JSON representation

airplay sample for both AppDelegate & SceneDelegate

Awesome Lists containing this project

README

        

![screen](./screeen.png)
# Screen Demo

There are two demos in the project, each using either `AppDelegate` or `SceneDelegate` (recommended) to manage the app's windows. The goal is to use UIKit to display custom content on a TV through AirPlay.

pay attension to info.plist setting if you choose SceneDelegate
```Swift
UISceneConfigurations

UIWindowSceneSessionRoleApplication


UISceneConfigurationName
Default Configuration
UISceneDelegateClassName
$(PRODUCT_MODULE_NAME).SceneDelegate
UISceneStoryboardFile
Main


UIWindowSceneSessionRoleExternalDisplayNonInteractive


UISceneConfigurationName
Default Configuration
UISceneDelegateClassName
$(PRODUCT_MODULE_NAME).TVSceneDelegate



```