App State restoration on iOS 14

I tried the app state restoration procedure on a test app but it did not work on iOS 14 device.

I do not have any older device so could not verify.

Is there any known issue for apostate restoration feature on iOS 14 ?

The app delegate methods application(:shouldSaveApplicationState:) and application(:shouldRestoreApplicationState:)  are not being called too.

I have never tried this feature for earlier versions so I cannot figure out if anything is wrong

https://stackoverflow.com/questions/64000699/state-restoration-in-ios-14 however states its broken for iOS 14

Please - reffer for the following documentation page:

https://developer.apple.com/documentation/uikit/uiviewcontroller/restoring_your_app_s_state

The sample supports two state preservation approaches. In iOS 13 and later, apps save the state for each window scene using NSUserActivity objects. In iOS 12 and earlier, apps preserve the state of their user interfaces by saving and restoring the configuration of view controllers.

It's also contains demo project - so you can use it for implementation details.

App State restoration on iOS 14
 
 
Q