Repository navigation
Description
Describe the bug
Since iOS 27, an app built with the iOS 27 SDK only receives a UIWindowSceneSessionRoleExternalDisplayNonInteractive scene through a registered scene accessory (UIViewController.registerSceneAccessory(_:) with UISceneAccessory.externalNonInteractive(sceneConfiguration:), or SwiftUI's .sceneAccessory { ExternalNonInteractiveAccessory { … } }).
Inside LiveContainer the accessory never becomes available: UISceneAccessoryRegistration.isAvailable stays false (SwiftUI's onAvailabilityChange never fires true) with a wired display or AirPlay connected. Instead, the system connects a windowExternalDisplayNonInteractive scene with no delegate (session.configuration.delegateClass == nil) and no window.
Wired displays (HDMI, DP-Alt) work: putting a UIWindow into that unclaimed scene shows on them. AirPlay is broken: the receiver (Mac as AirPlay receiver, Apple TV) shows only black while the audio plays. As soon as that scene exists, mirroring turns into an empty extended display.
The same build installed directly (developer-signed) gets isAvailable == true, its scene delegate gets the scene, and the app's external window shows correctly over AirPlay on both a Mac and an Apple TV.
Instructions to reproduce
- Build an app with the iOS 27 SDK that registers an external display scene accessory, e.g. in a view controller:
let configuration = UISceneConfiguration(name: "External Display", sessionRole: .windowExternalDisplayNonInteractive) configuration.delegateClass = ExternalDisplaySceneDelegate.self let registration = registerSceneAccessory(.externalNonInteractive(sceneConfiguration: configuration)) registration.isEnabled = true // read registration.isAvailable in updateProperties()
- Install it in LiveContainer and launch it.
- Start Screen Mirroring to a Mac or Apple TV.
registration.isAvailablestaysfalse, the scene delegate is never called, and the AirPlay receiver shows black.- Install the same IPA directly (developer-signed):
isAvailablebecomestrue, the delegate gets the scene, and the receiver shows the app's external window.
What version of LiveContainer and iOS are you using?
LiveContainer 3.8.11, iOS 27.2 (24B115), iPhone 17 Pro
Verify steps
- I downloaded LiveContainer from releases / actions section or LiveContainer's AltStore source.
- I have the latest LiveContainer.
- I installed LiveContainer through AltStore/SideStore/Impactor/iloader/TrollStore or I'm confident that I signed LiveContainer correctly with all required entitlements.
Crash Log
No crash report is produced.
Other info
Could LiveContainer forward the scene accessory registration (and the external display scene it creates) to the guest app? Happy to test a build or provide logs.
Activity
WouterJN commentedon Oct 30, 2026
Same here on an iPad, with a wired display, and a workaround that gets the external display scene to the guest's delegate.
Setup
iPad15,3, iPadOS 27.2 (24B119)DTSDKName=iphoneos26.2), re-signed with a development certificate, JIT-lessThe guest registers an external display scene accessory on iOS 27 (
registerSceneAccessory:with+[UISceneAccessory externalNonInteractiveSceneAccessoryWithConfiguration:], delegate classDmTVSceneDelegate). Installed natively, its scene delegate gets the TV scene. Inside LiveContainer the display is just mirrored, and the guest's delegate is never called.Why I think it happens
Info.plistdeclares noUIWindowSceneSessionRoleExternalDisplayNonInteractiveconfiguration (UIApplicationSceneManifestonly hasUIApplicationSupportsMultipleScenes), and its own app delegate answersapplication:configurationForConnectingSceneSession:options:.Info.plistmanifest, and the guest's accessory registration has no effect. That would match thedelegateClass == nilscene you see.Workaround (wired display)
I added a scene configuration for the external display role, naming the guest's delegate class, to two
Info.plistfiles:Info.plist(then re-signed LiveContainer and installed it over the old one):Info.plistinDocuments/Applications/<bundle>.app/: the sameUIWindowSceneSessionRoleExternalDisplayNonInteractiveentry.The delegate class lives in the guest binary, which is loaded into LiveContainer's process, so UIKit can instantiate it. After that, the guest's scene delegate gets the TV scene and the game fills the TV. Unplugging and plugging the cable back in during play works too (three times in a row): the scene disconnects, the guest moves its view back to the iPad, and gets the new scene when the cable is plugged in again.
This is obviously guest-specific (the class name is hardcoded), so it's a workaround, not a fix.
A possible generic fix
Since LiveContainer can't know the guest's class in its static
Info.plist, maybe:Info.plistwith a LiveContainer-owned proxy scene delegate, andapplication:configurationForConnectingSceneSession:options:), look up the guest's configuration forUIWindowSceneSessionRoleExternalDisplayNonInteractive: either from the guest's ownUIApplicationSceneManifest, or from the configuration the guest passed toregisterSceneAccessory:(hooking that call to remember it), and hand the scene to the guest's delegate class.That would cover both guests that use the iOS 26 manifest and guests that only register an accessory on iOS 27. I don't know if AirPlay behaves the same way once the delegate is set, since I can only test HDMI.
I'm happy to test a build on this iPad (HDMI), or to try a PR if you think the proxy approach is the right direction.