Type and sub-type used to display all photos in pick_image
The Photos module allows to display (pick_image) or access (get_image) to photos in camera roll via an index.
Is it possible to define for which type and subtype of fetchAssetCollectionsWithType_subtype_options_ these indexes correspond, so I could access to these assets via the same index,
- to get_image in photos
- to delete_assets for PHchangerequest
Hoping I'm clear enough.
If it is possible, I would not need to use requesImageForAsset
After some Google searches and some tests with different kind of photos, it seems that type and subtype must be 2 (smartalbum) and 209 (smartalbumlibrary).
I'll perform more tests about the photos sequence before to be sure that a delete assets [i] really deletes the get_image(i)...