Instance Property


An array of NEEvaluateConnectionRule objects


@property(copy) NSArray<NEEvaluateConnectionRule *> *connectionRules;


Each NEEvaluateConnectionRule object defines a behavior to take for connections that match the domain of the rule. Each rule is evaluated in order against the properties of a network connection being established. An example configuration has two connection rules: a rule matching with the domain action NEEvaluateConnectionRuleActionNeverConnect, followed by a rule matching with the domain action NEEvaluateConnectionRuleActionConnectIfNeeded. This configuration would cause all connections to hostnames in that do not resolve on the current network to trigger the VPN, except for

See Also

Accessing Connection Rules


NEEvaluateConnectionRule associates properties of network connections with an action.