Nic Hubbard
Nic Hubbard

Reputation: 42157

NSUserActivity State Restoration of a UITabViewController with UINavigationControllers

I am working to migrate my project over to using scenes and am needing to rebuild my State Restoration code to using NSUserActivity. I would love to stay on the viewController based state restoration but using CarPlay is requiring that I switch to scenes.

I have searched for resources and also looked at the Apple project which is overly complex and does not help a person understand how to use Scene based state restoration.

My app has a very large navigation hierarchy as a user could navigate through multiple screens and the navigation stack can become quite large.

A few specific questions come to mind:

Can anyone provide a simple example of how to restore a UITabViewController based app that uses UINavigationController?

Upvotes: 0

Views: 23

Answers (0)

Related Questions