Before iOS 15.2 version we could register PHPhotoLibrary.shared().register(self) without authorization, in iOS 15.2 it is not possible, you will get an error.
You have to request authorization(requestAuthorization(_:)) for register PHPhotoLibrary.shared().register(self).
Post
Replies
Boosts
Views
Activity
We get the same after call PHPhotoLibrary.shared().register(self) ((