Although this is not an officially documented API, w0lfschild published the headers of Apple's PhotoKit framework for macOS. The API looks very similar to the iOS one, so maybe you can figure it out using just the iOS docs. And in addition to MediaLibrary Framework you can also make changes to the library.
↧