Instance Method

completeStateRestoration

Tells the app that your code has finished any asynchronous state restoration.

Declaration

- (void)completeStateRestoration;

Discussion

UIKit restores your app’s state synchronously on the main thread. If you choose to perform additional state restoration on a secondary thread, call the extendStateRestoration method to inform UIKit of that fact. Call this method after you finish with your background work to let the system know that state restoration is complete.

See Also

Managing the State Restoration Behavior

- extendStateRestoration

Tells the app that your code is restoring state asynchronously.

- ignoreSnapshotOnNextApplicationLaunch

Prevents the app from using the recent snapshot image during the next launch cycle.

+ registerObjectForStateRestoration:restorationIdentifier:

Registers a custom object for use with the state restoration system.