×

Get Photo Albums

iOS 14 +

Notes

Retrieve a list of the album names in the Photos library

Syntax

getPhotoAlbums(type: <#Enumeration (AlbumType)#>, subType: <#Enumeration (AlbumSubType)#>, sortBy: <#Enumeration (SortAlbums)#>, sortOrder: <#Enumeration (AlbumSortOrder)#>, limit: <#Boolean#>, limitCount: <#Integer#>)

Example

getPhotoAlbums(type: User, subType: All, sortBy: Title, sortOrder: Ascending, limit: true, limitCount: 10)