I'm working on building functionality for an app using the Network Extension to setup an EncryptedDNS resolver for certain domains relevant to my app.
I need to detect whether the iphone user has Private Relay enabled in order to determine how my app behaves while setting up the encryptedDNS resolver.
What APIs can I use to determine if Private Relay is active? Is it available as a preference? I can't find any documentation around this.