Symbols: 43.3% of Apple's iOS API (448 of 1034, exact) · Rows: 7: 6 ✅ 1 ❌ · iOS: 8.0+
Area: Web, network & communication · Apple: NetworkExtension · Issues: area:web
- Approach: isim's own managers (
isim/swift/overlays/NetworkExtension). An app's configurations are stored in the device data (Library/NetworkExtension/<bundle id>.plist), so they load back after a relaunch, and iOS's permission alerts are shown: joining a Wi-Fi network (ISIM_HOTSPOT_PERMISSION), adding VPN configurations and filtering network content (ISIM_VPN_PERMISSION, remembered per app). The device's Wi-Fi network is simulated (ISIM_WIFI_SSID, defaultisim). - Not run: tunnels, filters and providers. A packet tunnel needs a host TUN device and privileges, so a VPN or
tunnel connection goes through its states (connecting, connected, disconnecting, disconnected, with
NEVPNStatusDidChange) without routing traffic, and provider extensions (packet tunnel, app push, URL filter control) are not launched. - Objective-C / C interface: headers in
isim/sdk-src/Frameworks/NetworkExtensionover the Swift classes;NEURLFilterManageris Swift only, like Apple's. - Versus Apple's Simulator: the Simulator cannot save VPN configurations or join networks; isim saves and loads them and simulates the connection, so an app's VPN and hotspot screens can be developed and tested.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
NEHotspotConfigurationManager (shared, apply(_:completionHandler:), getConfiguredSSIDs, removeConfiguration(forSSID:), removeConfiguration(forHS20DomainName:)), NEHotspotConfiguration (SSID, SSID prefix, WPA / WEP passphrase, EAP, Hotspot 2.0; joinOnce, lifeTimeInDays, hidden), NEHotspotEAPSettings, NEHotspotHS20Settings, NEHotspotConfigurationError |
✅ | ≤17 | adapted: apply checks the configuration as iOS does (SSID length, WPA 8–63 characters or 64 hex digits, WEP 5/13 characters or 10/26 hex digits, EAP credentials, Hotspot 2.0 domain), needs the com.apple.developer.networking.HotspotConfiguration entitlement (else .systemConfiguration), shows iOS's “Wants to Join Wi-Fi Network” alert (Cancel: .userDenied) and records the network for the app; nothing joins a real network. Not yet: joinAccessoryHotspot (AccessorySetupKit). Tested (HelloNetworkExtension, tests/ui/test_network_extension.py) |
NEVPNManager (shared(), load / save / remove from preferences, isEnabled, localizedDescription, protocolConfiguration, isOnDemandEnabled, onDemandRules, connection), NEVPNProtocol, NEVPNProtocolIPSec, NEVPNProtocolIKEv2 (security associations, dead peer detection, certificates, TLS versions, post-quantum key exchange, NEVPNIKEv2PPKConfiguration), NEProxySettings, NEProxyServer, the on-demand rules (NEOnDemandRuleConnect / Disconnect / Ignore / EvaluateConnection, NEEvaluateConnectionRule), NEVPNError, NEVPNConnectionError |
✅ | ≤17 | adapted: the first save shows iOS's “Would Like to Add VPN Configurations” alert (Don’t Allow: .configurationReadWriteFailed); a configuration without a protocol or server is .configurationInvalid. Every property is stored and loaded back. On-demand rules are kept but not evaluated. Raw values of the IKEv2 enums and NEVPNConnectionError follow Apple's headers. Tested (HelloNetworkExtension) |
NEVPNConnection (startVPNTunnel(), startVPNTunnel(options:), stopVPNTunnel(), status, connectedDate, manager, fetchLastDisconnectError), NEVPNStatus, NEVPNStatusDidChange, NEVPNConfigurationChange, NEVPNConnectionStartOptionUsername / Password |
✅ | ≤17 | adapted: simulated: connecting, then connected after 0.3 s; stopping goes disconnecting → disconnected; each change posts NEVPNStatusDidChange. No traffic is routed (a tunnel needs a host TUN device and privileges). Starting an unsaved configuration throws .configurationInvalid, a disabled one .configurationDisabled. The notification name strings are proposed. Tested (HelloNetworkExtension) |
NETunnelProviderManager (loadAllFromPreferences, forPerAppVPN(), routingMethod, appRules, copyAppRules(), the Safari / Mail / Calendar / Contacts / associated / excluded domains), NETunnelProviderProtocol (providerBundleIdentifier, providerConfiguration), NETunnelProviderSession (startTunnel(options:), stopTunnel(), sendProviderMessage), NEAppRule, NETunnelProviderRoutingMethod |
✅ | ≤17 | adapted: any number of configurations per app, stored and loaded; the session goes through NEVPNConnection's simulated states without launching the provider extension, and provider messages get no response (nil). Tested (HelloNetworkExtension) |
NEAppPushManager (load all / load / save / remove, matchSSIDs, matchPrivateLTENetworks, matchEthernet, matchMissionCriticalService (27.0), providerBundleIdentifier, providerConfiguration, delegate, isEnabled, isActive), NEAppPushDelegate, NEPrivateLTENetwork, NEAppPushManagerError, NEAppPushErrorDomain |
✅ | 14.0 | adapted: isActive (KVO-observable) is true while an enabled, saved configuration matches the simulated Wi-Fi network (ISIM_WIFI_SSID); the provider extension is not launched, so no incoming call reaches the delegate. Tested (HelloNetworkExtension) |
NEURLFilterManager (shared, load / save / remove, setConfiguration(pirServerURL:…), isEnabled, status, lastDisconnectError, handleStatusChange(), handleConfigChange(), refreshPIRParameters, resetPIRCache, the iOS 27 URL parsing and report settings) |
✅ | 26.0 | adapted: saved after iOS's “Would Like to Filter Network Content” alert; isim does not filter URLs: an enabled filter whose control provider extension is not in the app stops with .extensionNotFound, one whose extension is there reports .running without filtering. Swift only, like Apple's. Tested (HelloNetworkExtension, iOS 26 and 27) |
Providers and other managers: NEPacketTunnelProvider, NEAppProxyProvider, NEFilterDataProvider / NEFilterControlProvider / NEFilterManager, NEDNSProxyManager, NEDNSSettingsManager, NEHotspotHelper, NEHotspotNetwork, NERelayManager, NEAppPushProvider, NEURLFilter, NEURLFilterControlProvider |
❌ | ≤17 | not implemented: they run inside provider extensions that isim does not launch, or need the host's network stack |
586 symbols Apple documents for iOS that isim does not have (exact; Apple snapshot 2026-10-14). Each links to Apple's documentation.
List
let kNEHotspotHelperOptionDisplayName: StringNEAppExtensionConfigurationfunc accept(connection: NSXPCConnection) -> Boollet NEAppProxyErrorDomain: StringNEAppProxyFlowfunc closeReadWithError((any Error)?)func closeWriteWithError((any Error)?)var interface: NWInterface?var isBound: Boolvar metaData: NEFlowMetaDatavar networkInterface: nw_interface_t?func open(withLocalEndpoint: NWHostEndpoint?, completionHandler: ((any Error)?) -> Void)func open(withLocalFlowEndpoint: NWEndpoint?) async throwsfunc open(withLocalFlowEndpoint: NWEndpoint?, completionHandler: ((any Error)?) -> Void)var remoteHostname: String?func setMetadata(on: NWParameters)NEAppProxyFlowErrorstatic var aborted: NEAppProxyFlowError.CodeNEAppProxyFlowError.Codecase abortedcase datagramTooLargecase hostUnreachableinit?(rawValue: Int)caseinternal``case invalidArgumentcase notConnectedcase peerResetcase readAlreadyPendingcase refusedcase timedOutstatic var datagramTooLarge: NEAppProxyFlowError.Codestatic var errorDomain: Stringstatic var hostUnreachable: NEAppProxyFlowError.Codestatic varinternal: NEAppProxyFlowError.Codestatic var invalidArgument: NEAppProxyFlowError.Codestatic var notConnected: NEAppProxyFlowError.Codestatic var peerReset: NEAppProxyFlowError.Codestatic var readAlreadyPending: NEAppProxyFlowError.Codestatic var refused: NEAppProxyFlowError.Codestatic var timedOut: NEAppProxyFlowError.CodeNEAppProxyProviderfunc cancelProxyWithError((any Error)?)func handleNewFlow(NEAppProxyFlow) -> Boolfunc handleNewUDPFlow(NEAppProxyUDPFlow, initialRemoteEndpoint: NWEndpoint) -> Boolfunc startProxy(options: [String : Any]?, completionHandler: ((any Error)?) -> Void)func stopProxy(with: NEProviderStopReason, completionHandler: () -> Void)NEAppProxyProviderManagerclass func loadAllFromPreferences(completionHandler: ([NEAppProxyProviderManager]?, (any Error)?) -> Void)NEAppProxyTCPFlowfunc readData(completionHandler: (Data?, (any Error)?) -> Void)var remoteEndpoint: NWEndpointvar remoteFlowEndpoint: NWEndpointfunc write(Data, withCompletionHandler: ((any Error)?) -> Void)NEAppProxyUDPFlowvar localEndpoint: NWEndpoint?var localFlowEndpoint: NWEndpoint?func readDatagrams() async -> ([(Data, NWEndpoint)]?, (any Error)?)func readDatagrams(completionHandler: ([(Data, NWEndpoint)]?, (any Error)?) -> Void)func readDatagrams(completionHandler: ([Data]?, [NWEndpoint]?, (any Error)?) -> Void)func writeDatagrams([(Data, NWEndpoint)]) async throwsfunc writeDatagrams([(Data, NWEndpoint)], completionHandler: ((any Error)?) -> Void)func writeDatagrams([Data], sentBy: [NWEndpoint], completionHandler: ((any Error)?) -> Void)NEAppProxyUDPFlowHandlingfunc handleNewUDPFlow(NEAppProxyUDPFlow, initialRemoteFlowEndpoint: NWEndpoint) -> BoolNEAppPushProviderfunc handleTimerEvent()var providerConfiguration: [String : Any]?func reportIncomingCall(userInfo: [AnyHashable : Any])func reportPushToTalkMessage(userInfo: [AnyHashable : Any])func start()func start(completionHandler: ((any Error)?) -> Void)func stop(with: NEProviderStopReason, completionHandler: () -> Void)func unmatchEthernet()NEDNSOverHTTPSSettingsvar identityReference: Data?var serverURL: URL?NEDNSOverTLSSettingsvar identityReference: Data?var serverName: String?NEDNSProtocolcase cleartextcase HTTPSinit?(rawValue: Int)case TLSlet NEDNSProxyErrorDomain: StringNEDNSProxyManagervar isEnabled: Boolfunc loadFromPreferences(completionHandler: ((any Error)?) -> Void)var localizedDescription: String?var providerProtocol: NEDNSProxyProviderProtocol?func removeFromPreferences(completionHandler: ((any Error)?) -> Void)func saveToPreferences(completionHandler: ((any Error)?) -> Void)class func shared() -> NEDNSProxyManagerNEDNSProxyManagerErrorcase configurationCannotBeRemovedcase configurationDisabledcase configurationInvalidcase configurationStaleinit?(rawValue: Int)NEDNSProxyProviderfunc cancelProxyWithError((any Error)?)func handleNewFlow(NEAppProxyFlow) -> Boolfunc handleNewUDPFlow(NEAppProxyUDPFlow, initialRemoteEndpoint: NWEndpoint) -> Boolfunc startProxy(options: [String : Any]?, completionHandler: ((any Error)?) -> Void)func stopProxy(with: NEProviderStopReason, completionHandler: () -> Void)var systemDNSSettings: [NEDNSSettings]?NEDNSProxyProviderProtocolvar providerBundleIdentifier: String?var providerConfiguration: [String : Any]?NEDNSSettingsvar allowFailover: Boolvar dnsProtocol: NEDNSProtocolvar domainName: String?init(servers: [String])var matchDomains: [String]?var matchDomainsNoSearch: Boolvar searchDomains: [String]?var servers: [String]let NEDNSSettingsErrorDomain: StringNEDNSSettingsManagervar dnsSettings: NEDNSSettings?var isEnabled: Boolfunc loadFromPreferences(completionHandler: ((any Error)?) -> Void)var localizedDescription: String?var onDemandRules: [NEOnDemandRule]?func removeFromPreferences(completionHandler: ((any Error)?) -> Void)func saveToPreferences(completionHandler: ((any Error)?) -> Void)class func shared() -> NEDNSSettingsManagerNEDNSSettingsManagerErrorcase configurationCannotBeRemovedcase configurationDisabledcase configurationInvalidcase configurationStaleinit?(rawValue: Int)NEFilterActioncase allowcase dropcase filterDatainit?(rawValue: Int)case invalidcase remediateNEFilterBrowserFlowvar parentURL: URL?var request: URLRequest?var response: URLResponse?NEFilterControlProviderfunc handleNewFlow(NEFilterFlow, completionHandler: (NEFilterControlVerdict) -> Void)func handleRemediation(for: NEFilterFlow, completionHandler: (NEFilterControlVerdict) -> Void)func notifyRulesChanged()var remediationMap: [String : [String : NSObject]]?var urlAppendStringMap: [String : String]?NEFilterControlVerdictclass func allow(withUpdateRules: Bool) -> NEFilterControlVerdictclass func drop(withUpdateRules: Bool) -> NEFilterControlVerdictclass func updateRules() -> NEFilterControlVerdictNEFilterDataProviderfunc handleInboundData(from: NEFilterFlow, readBytesStartOffset: Int, readBytes: Data) -> NEFilterDataVerdictfunc handleInboundDataComplete(for: NEFilterFlow) -> NEFilterDataVerdictfunc handleNewFlow(NEFilterFlow) -> NEFilterNewFlowVerdictfunc handleOutboundData(from: NEFilterFlow, readBytesStartOffset: Int, readBytes: Data) -> NEFilterDataVerdictfunc handleOutboundDataComplete(for: NEFilterFlow) -> NEFilterDataVerdictfunc handleRemediation(for: NEFilterFlow) -> NEFilterRemediationVerdictfunc handleRulesChanged()NEFilterDataVerdictclass func allow() -> NEFilterDataVerdictclass func drop() -> NEFilterDataVerdictinit(passBytes: Int, peekBytes: Int)class func needRules() -> NEFilterDataVerdictclass func remediateVerdict(withRemediationURLMapKey: String?, remediationButtonTextMapKey: String?) -> NEFilterDataVerdictlet NEFilterErrorDomain: StringNEFilterFlowvar direction: NETrafficDirectionvar identifier: UUIDvar sourceAppIdentifier: String?var sourceAppUniqueIdentifier: Data?var sourceAppVersion: String?var url: URL?var NEFilterFlowBytesMax: UInt64NEFilterManagervar isEnabled: Boolfunc loadFromPreferences(completionHandler: ((any Error)?) -> Void)var localizedDescription: String?var providerConfiguration: NEFilterProviderConfiguration?func removeFromPreferences(completionHandler: ((any Error)?) -> Void)func saveToPreferences(completionHandler: ((any Error)?) -> Void)class func shared() -> NEFilterManagerNEFilterManagerErrorcase configurationCannotBeRemovedcase configurationDisabledcase configurationInternalErrorcase configurationInvalidcase configurationPermissionDeniedcase configurationStaleinit?(rawValue: Int)NEFilterNewFlowVerdictclass func allow() -> NEFilterNewFlowVerdictclass func drop() -> NEFilterNewFlowVerdictclass func filterDataVerdict(withFilterInbound: Bool, peekInboundBytes: Int, filterOutbound: Bool, peekOutboundBytes: Int) -> NEFilterNewFlowVerdictclass func needRules() -> NEFilterNewFlowVerdictclass func remediateVerdict(withRemediationURLMapKey: String, remediationButtonTextMapKey: String) -> NEFilterNewFlowVerdictclass func urlAppendStringVerdict(withMapKey: String) -> NEFilterNewFlowVerdictNEFilterProvidervar filterConfiguration: NEFilterProviderConfigurationfunc handle(NEFilterReport)func startFilter(completionHandler: ((any Error)?) -> Void)func stopFilter(with: NEProviderStopReason, completionHandler: () -> Void)NEFilterProviderConfigurationvar filterBrowsers: Boolvar filterSockets: Boolvar identityReference: Data?var organization: String?var passwordReference: Data?var serverAddress: String?var username: String?var vendorConfiguration: [String : Any]?let NEFilterProviderRemediationMapRemediationButtonTexts: Stringlet NEFilterProviderRemediationMapRemediationURLs: Stringvar NEFilterProviderRemediationURLFlowURL: Stringvar NEFilterProviderRemediationURLFlowURLHostname: Stringvar NEFilterProviderRemediationURLOrganization: Stringvar NEFilterProviderRemediationURLUsername: StringNEFilterRemediationVerdictclass func allow() -> NEFilterRemediationVerdictclass func drop() -> NEFilterRemediationVerdictclass func needRules() -> NEFilterRemediationVerdictNEFilterReportvar action: NEFilterActionvar bytesInboundCount: Intvar bytesOutboundCount: IntNEFilterReport.Eventcase dataDecisioncase flowClosedinit?(rawValue: Int)case newFlowvar event: NEFilterReport.Eventvar flow: NEFilterFlow?NEFilterSocketFlowvar localEndpoint: NWEndpoint?var localFlowEndpoint: NWEndpoint?var remoteEndpoint: NWEndpoint?var remoteFlowEndpoint: NWEndpoint?var remoteHostname: String?var socketFamily: Int32var socketProtocol: Int32var socketType: Int32NEFilterVerdictvar shouldReport: BoolNEFlowMetaDatavar sourceAppSigningIdentifier: Stringvar sourceAppUniqueIdentifier: DataNEHotspotAuthenticationProviderfunc handleCommand(NEHotspotHelperCommand) async -> NEHotspotHelperResponsefunc start() async -> Boolfunc stop(reason: NEProviderStopReason) asyncNEHotspotAuthenticationProviderConfigurationfunc joinAccessoryHotspot(ASAccessory, passphrase: String, completionHandler: (((any Error)?) -> Void)?)func joinAccessoryHotspotWithoutSecurity(ASAccessory, completionHandler: (((any Error)?) -> Void)?)NEHotspotEvaluationProviderfunc handleCommand(NEHotspotHelperCommand) async -> NEHotspotHelperResponsevar localizedDisplayName: Stringfunc start() async -> Boolfunc stop(reason: NEProviderStopReason) asyncNEHotspotEvaluationProviderConfigurationNEHotspotHelperclass func logoff(NEHotspotNetwork) -> Boolclass func register(options: [String : NSObject]?, queue: dispatch_queue_t, handler: NEHotspotHelperHandler) -> Boolclass func supportedNetworkInterfaces() -> [Any]?NEHotspotHelperCommandvar commandType: NEHotspotHelperCommandTypefunc createResponse(NEHotspotHelperResult) -> NEHotspotHelperResponsefunc createTCPConnection(NWEndpoint) -> NWTCPConnectionfunc createUDPSession(NWEndpoint) -> NWUDPSessionvar interface: NWInterfacevar network: NEHotspotNetwork?var networkList: [NEHotspotNetwork]?NEHotspotHelperCommandTypecase authenticatecase evaluatecase filterScanListinit?(rawValue: Int)case logoffcase maintaincase nonecase presentUINEHotspotHelperConfidencecase highinit?(rawValue: Int)case lowcase noneNEHotspotHelperHandlerNEHotspotHelperResponsefunc deliver()func setNetwork(NEHotspotNetwork)func setNetworkList([NEHotspotNetwork])NEHotspotHelperResultcase authenticationRequiredcase commandNotRecognizedcase failureinit?(rawValue: Int)case success- … and 286 more (
isim/data/api-coverage.json.gz)