Decodes and restores state-related information for the object.
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The coder object to use to decode the state of the view.
If your app supports state restoration, you can implement this method on any object for which you also overrode the
encode method. Your implementation of this method should read any saved state information from the archive and use it to restore the object to its previous configuration. If your
encode method called
super, this method should similarly call
super at some point in its implementation.