---
title: WINetworkSharingError.appNotPermitted
framework: wifiinfrastructure
role: symbol
role_heading: Case
path: wifiinfrastructure/winetworksharingerror/appnotpermitted
---

# WINetworkSharingError.appNotPermitted

Indicates the person hasn’t granted your app permission to use the shared networks API for the accessory.

## Declaration

```swift
case appNotPermitted
```

## See Also

### Checking for app issues

- [WINetworkSharingError.appNotInForeground](wifiinfrastructure/winetworksharingerror/appnotinforeground.md)
