Instance Method

determineAppInstallationAttribution(completionHandler:)

Determines whether the app was installed as the result of user interaction with an ad associated with an iAd Network campaign.

Declaration

func determineAppInstallationAttribution(completionHandler: @escaping (Bool) -> Void)

Parameters

completionHandler

A block to be called after the installation attribution is determined.

The block receives the following parameter:

appInstallationWasAttributedToiAd

If true, then the app was installed as the result of user interaction with an ad associated with an iAd Network campaign. If false the user has either chosen to limit ad tracking or discovered the app through other means.

Discussion

The handler is called on an arbitrary queue.