> For the complete documentation index, see [llms.txt](https://docs.wortise.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wortise.com/en/ios-sdk/privacy.md).

# Privacy

## Privacy Policy

If you application is targeting minors (exclusively or not), it is needed to comply with the requirements established by Apple.

To facilitate the compliance of these policies, the SDK allows to specify if the ad requests are targeted to minors, beside the ability to set the maximum content rating.

It is very important to comply with these requirements, and carefully review the related policies, to avoid any issues with Apple.

### Child directed content

To specify if an user is a minor or not, it is needed to include the following code **before** initializing the SDK:

{% tabs %}
{% tab title="Swift" %}

```swift
// true  -> The user is a minor or the age is unknown
// false -> The user is an adult
WAAdSettings.childDirected = true
```

{% endtab %}
{% endtabs %}

If the user age is unknown, the app must treat that user as if they were a minor.

### Content rating

To specify the maximum content rating, the following code must be added before initializing the SDK:

{% tabs %}
{% tab title="Swift" %}

```swift
WAAdSettings.maxAdContentRating = WAAdContentRating.G
```

{% endtab %}
{% endtabs %}

The following values are available when specifying the content rating:

| Value                  | Description                                                |
| ---------------------- | ---------------------------------------------------------- |
| `WAAdContentRating.G`  | Content suitable for minors                                |
| `WAAdContentRating.PG` | Content suitable for most audiences with parental guidance |
| `WAAdContentRating.T`  | Content suitable for teens                                 |
| `WAAdContentRating.MA` | Content suitable only for adults                           |

{% hint style="info" %}
If the app is directed primarily to children, it is completely needed to specify the `G` rating,

Otherwise, if the app audience is mixed, a `G` or `PG` rating must be set.
{% endhint %}
