brightnessDidChangeNotification does not seem to work on Mac Catalyst 15.5

Hi,

I have been trying to subscribe to brightnessDidChangeNotification (https://developer.apple.com/documentation/uikit/uiscreen/brightnessdidchangenotification) with my code:

var publisher = NotificationCenter.default.publisher(for: UIScreen.brightnessDidChangeNotification)
           .map { _ -> Double in
               return UIScreen.main.brightness 
           }

But it does seem that no such event is fired on Mac Catalyst 15.5. https://developer.apple.com/documentation/uikit/uiscreen/brightnessdidchangenotification claims that API is available since 13.1.

Could anybody tell me if I'm doing something wrong or if the API is not supported at the moment?

Thank you!