Home > AI > IOS > Foundation > FileManager >

NSHomeDirectory

Returns the path to either the user’s or application’s home directory, depending on the platform.

Discussion

In iOS, the home directory is the application’s sandbox directory. In macOS, it is the application’s sandbox directory or the current user’s home directory (if the application is not in a sandbox)

Example:

/var/mobile/Containers/Data/Application/{App UUID}
Related posts:

Leave a Reply