Is it possible to restrict internet access to particular iOS app like whatsapp, instagram from our own ios app ? like parental control app. How?
Network Extension Help
like parental control app.
Not really. While Network Extension has some facilities that could be abused to implement such a feature [1], there’s nothing that provides for per-app networking restrictions like this. Feel free to file an enhancement request for the features you need, but keep in mind that iOS does not, in general, provide system management APIs, but rather exposes this sort of functionality via the config profile mechanism.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"[1] Such as:
Per-app VPN (app proxy providers and packet tunnel providers in per-app mode) — There’s a couple of problems with using this for implementing restrictions, the biggest being that it’s only available on managed devices (it requires that the target app be installed via MDM).
Filter provider — This sees the network traffic but doesn’t get any information about the app that generated that traffic. Also, it is only available on supervised devices.