How to Implement Content Filtering in iOS App using HTTPS URL?

Hi everyone,

I'm working on an iOS app where I need to implement content filtering functionality.

I've successfully implemented a network extension target in my iOS app to filter data locally. However, I'm now aiming to extend this functionality to filter content over HTTPS. Currently, I'm utilizing a local data source for filtering, but I want to explore options for filtering content directly over HTTPS connections, like this URL: https://dns.nextdns.io/46d65d.

I've reviewed the available Apple APIs and documentation but haven't found a straightforward solution for HTTPS content filtering. Can anyone provide guidance or suggest any relevant resources for implementing HTTPS content filtering within a network extension target on iOS?

Any help or insights would be greatly appreciated!

Thank you in advance!

Replies

On iOS, NE filter data providers get NEFilterBrowserFlow objects, which yield the plaintext data from an HTTPS request.

IMPORTANT That a key reason for all the constraints on filter providers:

Share and Enjoy

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