This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11PODS:
2- - WPMediaPicker (1.4.1-beta.1 )
2+ - WPMediaPicker (1.4.1)
33
44DEPENDENCIES:
55 - WPMediaPicker (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99 :path: "../"
1010
1111SPEC CHECKSUMS:
12- WPMediaPicker: c6873fefaee96c4cae808a3e9401f50ee694075e
12+ WPMediaPicker: 8cff8dff846f3440c0c6d088c12240ab85570ee5
1313
1414PODFILE CHECKSUM: 7c47e10b39aca62b1f30c3c4260cc99456cf95f8
1515
Original file line number Diff line number Diff line change @@ -214,9 +214,10 @@ - (void)loadGroupsWithSuccess:(WPMediaSuccessBlock)successBlock
214214
215215 PHFetchOptions *albumOptions = [[PHFetchOptions alloc ] init ];
216216 albumOptions.predicate = [NSPredicate predicateWithFormat: @" (estimatedAssetCount != 0)" ];
217+ albumOptions.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey: @" localizedTitle" ascending: YES ]];
217218 self.albums = [PHAssetCollection fetchAssetCollectionsWithType: PHAssetCollectionTypeAlbum
218219 subtype: PHAssetCollectionSubtypeAny
219- options: nil ];
220+ options: albumOptions ];
220221
221222 [collectionsArray addObjectsFromArray: [self .albums objectsAtIndexes: [NSIndexSet indexSetWithIndexesInRange: NSMakeRange (0 , self .albums.count)]]];
222223
You can’t perform that action at this time.
0 commit comments