Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bbc6bae9/airplay
- Owner: BBC6BAE9
- Created: 2023-04-14T08:25:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-19T06:22:06.000Z (over 1 year ago)
- Last Synced: 2023-08-15T09:11:53.258Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 175 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![screen](./screeen.png)
# Screen DemoThere 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
```