Add to Shared Photo Library with PhotoKit

I'm using PhotoKit in macOS to add photos to the user's library. Experimenting with Shared Photo Library, it seems that these new photos always end up in the Personal Library, not the Shared Library. I'd like to get them into the Shared Photo Library somehow. Is this possible?

Things I've considered:

  • A variation/option for PHAssetChangeRequest.creationRequestForAsset: doesn't seem to exist
  • A property of PHAsset: can't find anything
  • A special PHAssetCollection that I could add to: again, doesn't seem to exist
Answered by DTS Engineer in 810145022

Hello @dansmith21,

There is no supported way for an app to add photos to a Shared Photo Library, please file an enhancement request using Feedback Assistant.

Best regards,

Greg

Hello @dansmith21,

There is no supported way for an app to add photos to a Shared Photo Library, please file an enhancement request using Feedback Assistant.

Best regards,

Greg

Add to Shared Photo Library with PhotoKit
 
 
Q