How do I open my app's section of Notification settings in Catalyst?

I have a button in my iOS app that opens the Settings app to my app's Notification permissions section. I use UIApplicationOpenSettingsURLString for this (or UIApplicationOpenNotificationSettingsURLString on iOS 15.4 and later). On Catalyst, both of these simply open the settings screen that is auto-generated from the Settings bundle.

How do I get it to open to the appropriate place in System Settings?

Yeah, this is very annoying (filed FB12010677 about it). We use URL(string: "x-apple.systempreferences:com.apple.preference.notifications")! which gets you pretty close — the user still has to scroll down and select your app though.

You can actually do this. The url is x-apple.systempreferences:com.apple.preference.notifications?id="App Bundle ID". example x-apple.systempreferences:com.apple.preference.notifications?id=org.mozilla.firefox.

How do I open my app's section of Notification settings in Catalyst?
 
 
Q