<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplicationDelegate/application(_:shouldAllowExtensionPointIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIApplicationDelegate(im)application:shouldAllowExtensionPointIdentifier:"
  },
  "title" : "application(_:shouldAllowExtensionPointIdentifier:)"
}
-->

# application(_:shouldAllowExtensionPointIdentifier:)

Asks the delegate to grant permission to use app extensions that are based on a specified extension point identifier.

```
optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplication.ExtensionPointIdentifier) -> Bool
```

## Parameters

`application`

Your shared app object.

`extensionPointIdentifier`

A constant identifying an extension point.

## Return Value

<doc://com.apple.documentation/documentation/Swift/false> to disallow use of a specified app extension type, or <doc://com.apple.documentation/documentation/Swift/true> to allow use of the type.

## Discussion

You can implement this method to reject a specified type of app extension, based on its extension point identifier, from use in your app. See Extension Point Identifier Constants in [`UIApplication`](/documentation/UIKit/UIApplication).

If you do not implement this method, all app extension types are available for use in your app.

In iOS 8.0, the only type of app extension you can reject is the custom keyboard. For information on app extensions, see [App Extension Programming Guide](https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/index.html#//apple_ref/doc/uid/TP40014214).

---

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)