File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
PODS:
2
- - WPMediaPicker (1.4.1-beta.1 )
2
+ - WPMediaPicker (1.4.1)
3
3
4
4
DEPENDENCIES:
5
5
- WPMediaPicker (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
9
9
:path: "../"
10
10
11
11
SPEC CHECKSUMS:
12
- WPMediaPicker: c6873fefaee96c4cae808a3e9401f50ee694075e
12
+ WPMediaPicker: 8cff8dff846f3440c0c6d088c12240ab85570ee5
13
13
14
14
PODFILE CHECKSUM: 7c47e10b39aca62b1f30c3c4260cc99456cf95f8
15
15
Original file line number Diff line number Diff line change @@ -214,9 +214,10 @@ - (void)loadGroupsWithSuccess:(WPMediaSuccessBlock)successBlock
214
214
215
215
PHFetchOptions *albumOptions = [[PHFetchOptions alloc ] init ];
216
216
albumOptions.predicate = [NSPredicate predicateWithFormat: @" (estimatedAssetCount != 0)" ];
217
+ albumOptions.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey: @" localizedTitle" ascending: YES ]];
217
218
self.albums = [PHAssetCollection fetchAssetCollectionsWithType: PHAssetCollectionTypeAlbum
218
219
subtype: PHAssetCollectionSubtypeAny
219
- options: nil ];
220
+ options: albumOptions ];
220
221
221
222
[collectionsArray addObjectsFromArray: [self .albums objectsAtIndexes: [NSIndexSet indexSetWithIndexesInRange: NSMakeRange (0 , self .albums.count)]]];
222
223
You can’t perform that action at this time.
0 commit comments