PHAssetMediaTypeAudio可获取哪种资产?

bel*_*nta 5 cocoa-touch ios phphotolibrary

我正在测试PHAsset以下方法:

+ (PHFetchResult *)fetchAssetsWithMediaType:(PHAssetMediaType)mediaType
                                options:(PHFetchOptions *)options
Run Code Online (Sandbox Code Playgroud)

我不清楚是什么PHAssetMediaTypeAudiofetchAssetsWithMediaType:PHAssetMediaTypeUnknown实际上是检索。这是我的测试代码,用于说明:

- (void)testRetrieveAssetsFromPhotoLibrary {

   // this gets me photo library images
   PHFetchResult *imagesResults = 
     [PHAsset fetchAssetsWithMediaType:PHAssetMediaTypeImage options:nil];
   NSLog(@"Number of images: %i", (int)imagesResults.count);

   // this gets me photo library videos
   PHFetchResult *videoResults = 
     [PHAsset fetchAssetsWithMediaType:PHAssetMediaTypeVideo options:nil];
   NSLog(@"Number of video files: %i", (int)videoResults.count);

   // what does this get me??  
   // not iTunes sync'ed music nor Voice Memo recordings...
   // prints 0...
   PHFetchResult *audioResults = 
     [PHAsset fetchAssetsWithMediaType:PHAssetMediaTypeAudio options:nil];
   NSLog(@"Number of audio files: %i", (int)audioResults.count);

   // what does this get me too??
   // prints 0...
   PHFetchResult *otherResults = 
     [PHAsset fetchAssetsWithMediaType:PHAssetMediaTypeUnknown options:nil];
   NSLog(@"Number of other files: %i", (int)otherResults.count);

}
Run Code Online (Sandbox Code Playgroud)