“Last weekend, I decided to expand Coverflow to work with my entire photo album,” said Erica Sadun in her recent post, Accessing all your onboard photos from your iPhone database. “This involved exploring the MusicLibrary and PhotoLibrary frameworks to find out how I could extract a complete set of albums and their pictures. The PLPhotoLibrary class proved to hold the key. With it, I could request an album list, and then build up a dictionary of photos that linked back from the image identifier to the album it came from.”
She then goes on to post the code on how to accomplish this. Quite nice.