Develop

[ios] iCloud관련 저장 디렉토리

by hooni posted Apr 23, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
어제 데이터 저장 위치를 <Application_Home>/Library/Caches 로 변경하는 것을  말씀드렸는데,
 
테스트 결과..do not backup option을 주더라도
 
저장 공간이 부족하면 해당 파일들이 삭제되는 현상을 발견했습니다. 

아래 애플 가이드 문서에 있는
 
<Application_Home>/Library/Private Documents 로 저장하는 것으로 변경했으며 삭제되지 않는 것도 확인을 했습니다.

 
Offline Data
 
This is data that can be downloaded or otherwise recreated, but that the user expects to be reliably available when offline. Offline data should be put in the<Application_Home>/Documents directory or in the <Application_Home>/Library/Private Documents directory (see QA1699 for details) and marked with the "do not backup" attribute. Data stored in either location will persist in low-storage situations and the "do not backup" attribute will prevent iTunes or iCloud backing up the data. Offline data files should be removed as soon as they are no longer needed to avoid using unnecessary storage space on the user's device.

http://developer.apple.com/library/ios/#qa/qa1699/_index.html