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

# denyAppRemoval

A Boolean value that indicates whether to prevent the user from removing applications.

## Declaration

```swift
var denyAppRemoval: Bool? { get set }
```

## Discussion

Discussion If your app doesn’t constrain this setting, the value is nil.

## 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.type.property.md)
