---
title: uiElementDestroyed
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsaccessibility-swift.struct/notification/uielementdestroyed
---

# uiElementDestroyed

This notification is posted after an accessibility element is destroyed. Post this notification using the post(element:notification:) function instead of an NSNotificationCenter instance.

## Declaration

```swift
static let uiElementDestroyed: NSAccessibility.Notification
```

## See Also

### Notification names

- [announcementRequested](appkit/nsaccessibility-swift.struct/notification/announcementrequested.md)
- [applicationActivated](appkit/nsaccessibility-swift.struct/notification/applicationactivated.md)
- [applicationDeactivated](appkit/nsaccessibility-swift.struct/notification/applicationdeactivated.md)
- [applicationHidden](appkit/nsaccessibility-swift.struct/notification/applicationhidden.md)
- [applicationShown](appkit/nsaccessibility-swift.struct/notification/applicationshown.md)
- [created](appkit/nsaccessibility-swift.struct/notification/created.md)
- [drawerCreated](appkit/nsaccessibility-swift.struct/notification/drawercreated.md)
- [focusedUIElementChanged](appkit/nsaccessibility-swift.struct/notification/focuseduielementchanged.md)
- [focusedWindowChanged](appkit/nsaccessibility-swift.struct/notification/focusedwindowchanged.md)
- [helpTagCreated](appkit/nsaccessibility-swift.struct/notification/helptagcreated.md)
- [layoutChanged](appkit/nsaccessibility-swift.struct/notification/layoutchanged.md)
- [mainWindowChanged](appkit/nsaccessibility-swift.struct/notification/mainwindowchanged.md)
- [moved](appkit/nsaccessibility-swift.struct/notification/moved.md)
- [resized](appkit/nsaccessibility-swift.struct/notification/resized.md)
- [rowCollapsed](appkit/nsaccessibility-swift.struct/notification/rowcollapsed.md)
