Skip to content

Commit ece8990

Browse files
committed
Store staged PFFiles in cache directory.
1 parent 527b2d1 commit ece8990

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Parse/Internal/File/Controller/PFFileStagingController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ + (instancetype)controllerWithDataSource:(id<PFFileManagerProvider>)dataSource {
5151
///--------------------------------------
5252

5353
- (NSString *)stagedFilesDirectoryPath {
54-
NSString *folderPath = [self.dataSource.fileManager parseLocalSandboxDataDirectoryPath];
55-
return [folderPath stringByAppendingPathComponent:PFFileStagingControllerDirectoryName_];
54+
return [self.dataSource.fileManager parseCacheItemPathForPathComponent:PFFileStagingControllerDirectoryName_];
5655
}
5756

5857
///--------------------------------------

0 commit comments

Comments
 (0)