iOS Photos Framework: is it possible to access photos from "People" smart folder?
<p>I'm trying to access <code>PHAssetCollection</code>s from <code>PHCollectionList</code>. The main idea is to fetch all collections (and assets inside) from "People" smart folder on my iPhone (iOS 10.2). To fetch <code>PHCollectionList</code> I'm using current code:</p>

<pre><code>PHFetchResult *listFetchResult = 
[PHCollectionList fetchCollectionListsWithType:PHCollectionListTypeSmartFolder 
                                       subtype:PHCollectionListSubtypeSmartFolderFaces
                                       options:nil];
PHCollectionList *list = listFetchResult[0];
NSLog(@"title: %@",list.localizedTitle);
</code></pre>

<p>This works as expected. Console output: "title: People". <code>list.canContainAssets</code> returns <code>NO</code> and <code>list.canContainCollections</code> returns <code>YES</code>.<br>
Then, I'm trying to fetch asset collections from <code>list</code>:</p>

<pre><code>PHFetchResult *collectionFetchResult = 
[PHCollection fetchCollectionsInCollectionList:list options:nil];
</code></pre>

<p><code>collectionFetchResult.count</code> always returns 0. But if I open Photos app i see 10 collections inside "People" folder.</p>

<p>Is it possible to access collections (and photos inside them) from "People" smart album in Photos app? </p>