어떻게하면 iPad에서 응용 프로그램을 제거 할 수 있습니까? 나는 문서 디렉토리를 삭제하려면이 코드를 사용하고 있습니다 :내 시스템에서 application ipad를 제거하십시오.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectoryPath = [paths objectAtIndex:0]; NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager removeItemAtPath:documentsDirectoryPath error:NULL];
문서 디렉토리를 삭제할 수 없습니다. 당신은 그 안의 모든 파일을 삭제할 수 있습니다, 그것은 당신이 원하는 것입니까? –
네,하지만 제가하고 싶습니다. – newPerson
haw 나는이 코드를 넣어 – newPerson