Contents

requestAgeException

A Boolean value that indicates whether the person needs approval to install the app.

Declaration

var requestAgeException: Bool

Mentioned in

Discussion

Set this property to true if the app to install has an age rating beyond the maximum allowed for the device (see maximumAllowedAgeRating). Instead of installing the app, the framework presents a sheet that enables the person to send an installation exception request to the parent or guardian. For more information, see Providing age-rating appropriate content.

If your app sets this property to true when it’s not needed, the framework throws MarketplaceKitError.ageRatingExceptionNotNeeded. Alternatively, if your app fails to set this property to true when it is needed, the framework throws MarketplaceKitError.cancelled.