How to interact with tvOS in Xcode Preview?

Has somebody figured out how to interact with the SwiftUI Preview for tvOS in Xcode 14 when the Live mode is enabled? The arrow keys do not seem to work (or even any other key or mouse click). The Live mode is pretty useless without user input.

Answered by Developer Tools Engineer in 734685022

Hi,

This is unfortunately a known limitation of Xcode's tvOS preview support. For now that workaround is to run your app in the tvOS simulator when you require to interact with app.

Accepted Answer

Hi,

This is unfortunately a known limitation of Xcode's tvOS preview support. For now that workaround is to run your app in the tvOS simulator when you require to interact with app.

How to interact with tvOS in Xcode Preview?
 
 
Q