NEURLFilter
A class used to voluntarily validate URLs for apps that don’t use WebKit or the URL session API.
Declaration
class NEURLFilterOverview
When using networking frameworks other than WebKit or Foundation’s URLSession, use the NEURLFilter API to evaluate URLs before potentially connecting to a restricted or malicious site. Call the class method verdict(for:) to check a URL and honor the “allow” or “deny” verdict. Don’t connect to any URL that receives a “deny” verdict.