---
title: denyAppRemoval
framework: managedsettings
role: symbol
role_heading: Type Property
path: managedsettings/applicationsettings/denyappremoval-swift.type.property
---

# denyAppRemoval

The metadata for the setting to prevent app removal.

## Declaration

```swift
static let denyAppRemoval: SettingMetadata<Bool>
```

## Discussion

Discussion Use denyAppRemoval to access metadata about denyAppRemoval. The default value is false.

## See Also

### Preventing app installation and removal

- [denyAppInstallation](managedsettings/applicationsettings/denyappinstallation-swift.property.md)
- [denyAppInstallation](managedsettings/applicationsettings/denyappinstallation-swift.type.property.md)
- [denyAppRemoval](managedsettings/applicationsettings/denyappremoval-swift.property.md)
