Photo permission dialog not shown when iOS app runs on Mac

According to the docs:

The first time your app performs an operation that requires [photo library] authorization, the system automatically and asynchronously prompts the user for it.

(https://developer.apple.com/documentation/photokit/delivering-an-enhanced-privacy-experience-in-your-photos-app)

I.e. it's not necessary for the app to call PHPhotoLibrary.requestAuthorization.

This does seem to be what happens when my app runs on an iPhone or iPad; the prompt is shown. But when it runs on a Mac in "designed for iPad" mode, the permission dialog is not presented. Instead the code continues to see status == .notDetermined.

That's today, on macOS 15.3. It may have worked in the past.

Is anyone else seeing issues with this? Should I call requestAuthorization explicitly? (Would that actually work?)

Photo permission dialog not shown when iOS app runs on Mac
 
 
Q