Apple TV and SwiftUI

Hi,

I'm trying to slowly add SwiftUI ViewControllers to an existing UIKit app.


With the iPhone and iPad and using a storyboard and hostingcontroller, I use the below code to go from a UIKit ViewController to a SwiftUI view:


@IBSegueAction func SwiftUIAction(_ coder: NSCoder) -> UIViewController? {
        return UIHostingController(coder: coder, rootView: SecondController())


The above code does NOT work with the AppleTV, and it doesn't give me an error (or I would put it here) What am I missing?


Thanks,

Dan Uff