One Logo Pool Ball
ManagedSettings · IOS API REFERENCE

ApplicationSettings

struct · iOS 15.0+ · SDK 27.1

struct ApplicationSettings

Constraints on the apps and categories of apps a user can run on their device.

Members (9)

get · iOS 15.0+

denyAppRemoval

TypeScript
static get denyAppRemoval(): SettingMetadata<boolean>
Swift declaration
static let denyAppRemoval: SettingMetadata<Bool>

The metadata for the setting to prevent app removal. Use `denyAppRemoval` to access metadata about ``denyAppRemoval-swift.property``. The default value is `false`.

get · iOS 15.0+

denyAppRemoval

TypeScript
get denyAppRemoval91849(): (boolean) | null
Swift declaration
var denyAppRemoval: Bool? { get set }

A Boolean value that indicates whether to prevent the user from removing applications. If your app doesn't constrain this setting, the value is `nil`.

set · iOS 15.0+

denyAppRemoval

TypeScript
set denyAppRemoval91849(value: (boolean) | null)
Swift declaration
var denyAppRemoval: Bool? { get set }

A Boolean value that indicates whether to prevent the user from removing applications. If your app doesn't constrain this setting, the value is `nil`.

get · iOS 15.0+

blockedApplications

TypeScript
static get blockedApplications(): SettingMetadata<Array<Application>>
Swift declaration
static let blockedApplications: SettingMetadata<Set<Application>>

A description of the setting that controls which apps a user can launch on their device. Use `blockedApplications` to access the metadata for ``ApplicationSettings/blockedApplications-swift.property``. The default value is an empty set.

get · iOS 15.0+

blockedApplications

TypeScript
get blockedApplications79767(): (Array<Application>) | null
Swift declaration
var blockedApplications: Set<Application>? { get set }

A set of applications for the system to block. The system hides blocked applications and prevents the user from launching them. The value is `nil` if your app doesn't specify a set of apps to block. Your app can shield up to 50 applications at once.

set · iOS 15.0+

blockedApplications

TypeScript
set blockedApplications79767(value: (Array<Application>) | null)
Swift declaration
var blockedApplications: Set<Application>? { get set }

A set of applications for the system to block. The system hides blocked applications and prevents the user from launching them. The value is `nil` if your app doesn't specify a set of apps to block. Your app can shield up to 50 applications at once.

get · iOS 15.0+

denyAppInstallation

TypeScript
static get denyAppInstallation(): SettingMetadata<boolean>
Swift declaration
static let denyAppInstallation: SettingMetadata<Bool>

The metadata for the setting to prevent app installation. Use `denyAppInstallation` to access metadata about ``denyAppInstallation-swift.property``. The default value is `false`.

get · iOS 15.0+

denyAppInstallation

TypeScript
get denyAppInstallation56640(): (boolean) | null
Swift declaration
var denyAppInstallation: Bool? { get set }

A Boolean value that indicates whether to prevent the user from installing applications. If your app doesn't constrain this setting, the value is `nil`.

set · iOS 15.0+

denyAppInstallation

TypeScript
set denyAppInstallation56640(value: (boolean) | null)
Swift declaration
var denyAppInstallation: Bool? { get set }

A Boolean value that indicates whether to prevent the user from installing applications. If your app doesn't constrain this setting, the value is `nil`.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedSettings types →