Type Method

shared()

Returns the shared instance of the ASIdentifierManager class.

Declaration

class func shared() -> ASIdentifierManager

Return Value

The shared instance of the ASIdentifierManager class.

See Also

Getting the Advertising Identifier

var advertisingIdentifier: UUID

An alphanumeric string unique to each device, used only for serving advertisements.

var isAdvertisingTrackingEnabled: Bool

A Boolean value that indicates whether the user has limited ad tracking.

func clearAdvertisingIdentifier()

Clears the app's current advertising identifier, forcing the creation of a new advertising identifier the next time you need one.