私はこれを機能させるのに最も苦労しています。バンドルからドキュメントディレクトリにフォルダをコピーしようとしています。
私が見つけようとしているフォルダはここにあります:
... app / Resources / 12 /(たくさんのjpg)
NSString *myPath = [[[NSBundle mainBundle] resourcePath]stringByAppendingPathComponent:@"12"];
NSLog(@"%@",myPath);/// returns "..../MyApp.app/12"
NSArray *arrayOf12s = [[NSFileManager defaultManager]contentsOfDirectoryAtPath:myPath error:nil];
NSLog(@"%@",arrayOf12s); ////always returns NULL