<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure/WINetworkSharingAskToShareState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "s:18WiFiInfrastructure31WINetworkSharingAskToShareStateO"
  },
  "title" : "WINetworkSharingAskToShareState"
}
-->

# WINetworkSharingAskToShareState

The authorization state for sharing the current Wi-Fi network with an accessory.

```
enum WINetworkSharingAskToShareState
```

## Overview

Use this type to track whether the person allowed the accessory to join the
Wi-Fi network that the device is currently using.

## Topics

### Checking authorization state

[`case undetermined`](/documentation/WiFiInfrastructure/WINetworkSharingAskToShareState/undetermined)

The person hasn’t decided whether to share the network with the accessory.

[`case denied`](/documentation/WiFiInfrastructure/WINetworkSharingAskToShareState/denied)

The person chose not to share the network with the accessory.

[`case approved`](/documentation/WiFiInfrastructure/WINetworkSharingAskToShareState/approved)

The person allowed the accessory to use the network.

## Relationships

### Conforms To

[`CaseIterable`](/documentation/Swift/CaseIterable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)