MacOs Photos project extension. Added photo detection

Hi! In debug mode I create a project with my project extension app (in 10.13). Then I close it by pressing "Done". Then I drag a photo to this project (to icon in "My Projects") and drop it there (with "+" icon). And then, If I open my project, I cant't detect the adding of that new photo to.


While opening project, OS calls the only method:

func resumeProject(with extensionContext: PHProjectExtensionContext, completion: @escaping (Error?) -> Void)


but with extensionContext I can't get the information about added new photo!

extensionContext.inputItems has 0 items count

extensionContext.project has nothing helpful too


the

photoLibraryDidChange(_:) is not called in this case


Thanks for any help or guidance!

Replies

hey,

Any update on this?
I'm facing the same problem.