system.CachesDirectory

Type Constant
Library system.*
Revision 2017.3179
Keywords system directory, CachesDirectory
See also system.pathForFile()
system.ApplicationSupportDirectory
system.DocumentsDirectory
system.ResourceDirectory
system.TemporaryDirectory

Overview

Used with system.pathForFile() to create a path for storing and retrieving files that are available across application launches. This is ideal for saving state information.

Note

On iOS, this information is not backed up by syncing.

Syntax

system.CachesDirectory