Contents

copyAppRules()

Returns a copy of the app rules currently set in the configuration.

Declaration

func copyAppRules() -> [NEAppRule]?

Mentioned in

Return Value

An array of NEAppRule objects, or nil if the configuration doesn’t have any app rules.

Discussion

This method provides read-only access to the configuration’s app rules.

See Also

Managing tunnel configurations