Contents

cumulativeSuspendedWithLockedFileExitCount

The number of times the system terminated the app from the background while being suspended and having file locks.

Declaration

var cumulativeSuspendedWithLockedFileExitCount: Int { get }

Discussion

A common cause for this kind of exit is writing to an SQLite database as the system is suspending the app. For information on what to do with open files and databases when transitioning to the background, see Preparing your UI to run in the background.

See Also

Reading the System Termination Count