phPhotoLibraryMBS usage

@Christian_Schmitz Do you have any example projects for phPhotoLibrary.performChanges or performChangesAndWait methods? I am having difficulty getting them to work on MacOS, sandboxed app. I would like to be able add and delete images from photos library.

Firs make sure you have 25.4 or 25.5 plugins as I fixed this in 25.4 for a client.

Please use #Pragma StackOverflowChecking false and #Pragma BackgroundTasks false in the change block method to disable stack checking and background activities.

Otherwise you may have a stack overflow exception before any code runs.

Also check if authorizationStatus is PHAuthorizationStatusAuthorized.

Inside the change block, you can use PHAssetChangeRequestMBS and related classes.