I can’t get UIScene-based state restoration to work on tvOS as it does on iOS.
UISceneSession.stateRestorationActivity
is always nil in UIWindowSceneDelegate.scene(_:willConnectTo:options:)
despite UIWindowSceneDelegate.stateRestorationActivity(for:)
being called in the previous lifecycle.
The NSUserActivityType is correctly configured in the Info.plist.
Has anyone encountered the same issue or knows how to get this to work?
Sample Project https://github.com/antiraum/tvosSceneStateRestoration Feedback FB20451479