Is there any iOS API, framework, or entitlement (public or beta) that lets an app detect when a user disables or removes a Configuration Profile (specifically a DNS-over-HTTPS profile) — without VPN extension, MDM, or supervised mode?
Use case: I need to know server-side, in real time, when the user toggles off a .mobileconfig DoH profile they previously installed.
Things I've already reviewed and ruled out:
- NetworkExtension (NEDNSSettingsManager — only fires while app is running)
- BGTaskScheduler (iOS-scheduled, not real-time)
- NEFilterDataProvider (requires supervised)
- VPN / MDM / supervised
Anything I'm missing?
The short answer here is “No.”
This is the sticking point:
only fires while app is running
You’re looking for an API that will resume or relaunch your app in the background when the network configuration changes. iOS has no such API.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"