프로젝트 Info에서 Application supports iTunes file sharing 항목 추가하고 YES 설정해주면
iTune에서 응용 프로그램 파일 공유를 사용할수 있다.
어플리케이션의 Document 폴더 부분을 사용한다.
소스상 사용시
NSFileManage *fileManage = [NSFileManager defaultManager];
NSArray *dirPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDictory, NSUserDomainMask, YES);
NSString documentPath = [dirPaths objectAtIndex:0];
NSString filePath = [documentPath stringByAppendingPathComponent:@"test.db"];
'iOS > 개발환경' 카테고리의 다른 글
XCode 업데이트 후 cocoapods 동작 안될때 (0) | 2014.10.29 |
---|---|
[펌] XCode 버젼별 지원 단말 구분 (0) | 2012.09.28 |
iTune에서 응용프로그램 파일 공유 설정하기 (1) | 2011.12.21 |
XCode 개발툴 제거 (0) | 2011.12.13 |
아이폰 시뮬레이터 폴더 위치 (0) | 2011.12.10 |
Xcode 4에서 NSZombieEnabled 설정 (0) | 2011.06.15 |