Contents

maximumAllowedAgeRating

An age rating that specifies the maximum rating set for content on the device.

Declaration

@MainActor final var maximumAllowedAgeRating: Int { get }

Mentioned in

Discussion

The framework derives the value of this property according to the restrictions set on the device.

The value is a code that maps to the following age ratings:

Return value

Rating

1

1+

2

2+

3

3+

100

4+

105

5+

106

6+

107

7+

108

8+

200

9+

210

10+

211

11+

300

12+

313

13+

314

14+

415

15+

416

16+

600

17+

618

18+

619

19+

620

20+

621

21+

2000

Unrated

See Also

Checking for age-rating based content restrictions