Constraints on the media content the user can access.
Members (15)
get · iOS 15.0+
denyMusicService
TypeScript
static get denyMusicService(): SettingMetadata<boolean>
Swift declaration
static let denyMusicService: SettingMetadata<Bool>
The metadata associated with denying access to Apple Music.
Use `denyMusicService` to access the metadata for ``denyMusicService-swift.property``.
The default value is `false`.
get · iOS 15.0+
denyMusicService
TypeScript
get denyMusicService25823(): (boolean) | null
Swift declaration
var denyMusicService: Bool? { get set }
A Boolean value that indicates whether to prevent the user from accessing Apple Music's streaming content.
If you set this value to `true`, the Music app reverts to classic mode.
If your app doesn't configure this setting, the value is `nil`.
set · iOS 15.0+
denyMusicService
TypeScript
set denyMusicService25823(value: (boolean) | null)
Swift declaration
var denyMusicService: Bool? { get set }
A Boolean value that indicates whether to prevent the user from accessing Apple Music's streaming content.
If you set this value to `true`, the Music app reverts to classic mode.
If your app doesn't configure this setting, the value is `nil`.
get · iOS 15.0+
maximumMovieRating
TypeScript
static get maximumMovieRating(): BoundedSettingMetadata<number>
Swift declaration
static let maximumMovieRating: BoundedSettingMetadata<Int>
The metadata for the setting that controls the maximum movie rating.
The default value is `1000` and the bounds are `0...1000`.
get · iOS 15.0+
maximumMovieRating
TypeScript
get maximumMovieRating36895(): (number) | null
Swift declaration
var maximumMovieRating: Int? { get set }
The maximum movie rating the user may view.
If your app doesn't configure this setting, the value is `nil`.
The following list provides U.S. descriptions for the ratings:
- `1000`: All
- `500`: NC-17
- `400`: R
- `300`: PG-13
- `200`: PG
- `100`: G
- `0`: None
set · iOS 15.0+
maximumMovieRating
TypeScript
set maximumMovieRating36895(value: (number) | null)
Swift declaration
var maximumMovieRating: Int? { get set }
The maximum movie rating the user may view.
If your app doesn't configure this setting, the value is `nil`.
The following list provides U.S. descriptions for the ratings:
- `1000`: All
- `500`: NC-17
- `400`: R
- `300`: PG-13
- `200`: PG
- `100`: G
- `0`: None
get · iOS 15.0+
denyExplicitContent
TypeScript
static get denyExplicitContent(): SettingMetadata<boolean>
Swift declaration
static let denyExplicitContent: SettingMetadata<Bool>
The metadata for the setting that denies explicit content.
Use `denyExplicitContent` to access the metadata for ``denyExplicitContent-swift.property``.
The default value is `false`.
get · iOS 15.0+
denyExplicitContent
TypeScript
get denyExplicitContent37435(): (boolean) | null
Swift declaration
var denyExplicitContent: Bool? { get set }
A Boolean value that indicates whether to prevent the user from accessing explicit content.
Use `denyExplicitContent` to hide music and video content that has an *explicit* tag.
If your app doesn't configure this setting, the value is `nil`.
set · iOS 15.0+
denyExplicitContent
TypeScript
set denyExplicitContent37435(value: (boolean) | null)
Swift declaration
var denyExplicitContent: Bool? { get set }
A Boolean value that indicates whether to prevent the user from accessing explicit content.
Use `denyExplicitContent` to hide music and video content that has an *explicit* tag.
If your app doesn't configure this setting, the value is `nil`.
get · iOS 15.0+
maximumTVShowRating
TypeScript
static get maximumTVShowRating(): BoundedSettingMetadata<number>
Swift declaration
static let maximumTVShowRating: BoundedSettingMetadata<Int>
The metadata for the setting that controls the maximum TV show rating.
The default value is `1000` and the bounds are `0...1000`.
get · iOS 15.0+
maximumTVShowRating
TypeScript
get maximumTVShowRating67261(): (number) | null
Swift declaration
var maximumTVShowRating: Int? { get set }
The maximum TV show rating that the user may view.
If your app doesn't configure this setting, the value is `nil`.
The following list provides U.S. descriptions for the ratings:
- `1000`: All
- `600`: TM-MA
- `500`: TV-14
- `400`: TV-PG
- `300`: TV-G
- `200`: TV-Y7
- `100`: TV-Y
- `0`: None
set · iOS 15.0+
maximumTVShowRating
TypeScript
set maximumTVShowRating67261(value: (number) | null)
Swift declaration
var maximumTVShowRating: Int? { get set }
The maximum TV show rating that the user may view.
If your app doesn't configure this setting, the value is `nil`.
The following list provides U.S. descriptions for the ratings:
- `1000`: All
- `600`: TM-MA
- `500`: TV-14
- `400`: TV-PG
- `300`: TV-G
- `200`: TV-Y7
- `100`: TV-Y
- `0`: None
get · iOS 15.0+
denyBookstoreErotica
TypeScript
static get denyBookstoreErotica(): SettingMetadata<boolean>
Swift declaration
static let denyBookstoreErotica: SettingMetadata<Bool>
The metadata associated with the setting that denies access to content in the Books store categorized as erotica.
Use `denyBookstoreErotica` to access the metadata for ``denyBookstoreErotica-swift.property``.
The default value is `false`.
get · iOS 15.0+
denyBookstoreErotica
TypeScript
get denyBookstoreErotica265(): (boolean) | null
Swift declaration
var denyBookstoreErotica: Bool? { get set }
A Boolean value that indicates whether to deny media categorized as erotica in the Books store.
Use `denyBookstoreErotica` to deny the user permission to access media with an *erotica* tag in the Books store.
If your app doesn't configure this setting, the value is `nil`.
set · iOS 15.0+
denyBookstoreErotica
TypeScript
set denyBookstoreErotica265(value: (boolean) | null)
Swift declaration
var denyBookstoreErotica: Bool? { get set }
A Boolean value that indicates whether to deny media categorized as erotica in the Books store.
Use `denyBookstoreErotica` to deny the user permission to access media with an *erotica* tag in the Books store.
If your app doesn't configure this setting, the value is `nil`.