Blocking Network Requests per iOS App

What I want to do?

I want to completely block network traffic for installed iOS apps. Hence, I need to filter network traffic based on the app, which executes this network request. Note that my app is created for personal use and learning purposes.

How is this possible on iOS. Could you kindly point me into the right direction?

What I don't want to do?

Block network requests just by using the given domain names or using local VPNs.

What I did?

I skimmed through the Network Extension documentation and this forum.

Thank you! BR, Markus

Answered by DTS Engineer in 820635022

A Network Extension content filter is likely to be your best path forward here.

Note that my app is created for personal use and learning purposes.

Cool, because NE content filters have significant distribution limitations. See TN3134 Network Extension provider deployment. The good news is that this won’t cause you problems if you stick to development builds of your app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

A Network Extension content filter is likely to be your best path forward here.

Note that my app is created for personal use and learning purposes.

Cool, because NE content filters have significant distribution limitations. See TN3134 Network Extension provider deployment. The good news is that this won’t cause you problems if you stick to development builds of your app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Blocking Network Requests per iOS App
 
 
Q