Class

NEAppRule

The identity of an app whose traffic is to be routed through the tunnel.

Declaration

class NEAppRule : NSObject

Topics

Initializing an App Rule

init(signingIdentifier: String)

Create an app rule that matches an app with a given signing identifier.

init(signingIdentifier: String, designatedRequirement: String)

Create an app rule that matches an app with a given signing identifier and a given designated requirement.

Accessing App Rule Properties

var matchSigningIdentifier: String

The signing identifier of the app that matches the rule.

var matchDesignatedRequirement: String

The designated requirement of the app that matches the rule.

var matchPath: String?

The file system path of the app that matches the rule.

var matchDomains: [Any]?

The hostname domains that match the rule.

Relationships

Inherits From

See Also

VPN Configuration

class NETunnelProviderManager

An object to create and manage the tunnel provider’s VPN configuration.

class NEVPNManager

An object to create and manage a Personal VPN configuration.

class NETunnelProviderProtocol

Configuration parameters for a VPN tunnel.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software