is there anything new in ways I can build a content filter for website blocker app?

Asked on 06/11/2025

1 search

Yes, there are new ways to build a content filter for a website blocker app using the NetworkExtension framework, as discussed in the session titled "Filter and tunnel network traffic with NetworkExtension" at WWDC 2025.

Starting in iOS 26, you can create a URL filter that makes content filtering decisions based on the full URL of HTTP and HTTPS requests. This allows you to block specific resources on the Internet rather than entire sites. The URL filter is designed to protect privacy by not revealing URL contents to the app and anonymizing all database queries to backend servers. The filtering process is performed by the system using your URL dataset, which includes an on-device pre-filter and an off-device database server for URL lookups.

To implement this, you would use the new URL filter app extension template in Xcode and the NetworkExtension framework. You can configure and enable your URL filter using the neurlfiltermanager shared singleton instance. The system performs the filtering process on your behalf, ensuring strong privacy preservation.

For more details, you can refer to the session Filter and tunnel network traffic with NetworkExtension (10:54).