我在我的应用程序中创建了三个 PHCollections。在我的应用程序的不同部分,我试图获取它们并将它们显示在表格视图中。我可以使用以下代码获取所有用户创建的库
let topLevelUserCollections: PHFetchResult = PHCollectionList.fetchTopLevelUserCollectionsWithOptions(nil)
self.collectionsFetchResults = [topLevelUserCollections];
self.collectionsLocalizedTitles = ["My Clips"];
PHPhotoLibrary.sharedPhotoLibrary().registerChangeObserver(self) //With this you need to conform to PHPhotoLibraryChangeObserver
但是我怎样才能只获取我想要的资产集合呢?另外,我只想要视频而不是图像,有没有办法只获取视频资产的结果?