# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wortise.com/en/ios-sdk/privacy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
