Contents

token

A unique device token to use when sending push notifications to the current device.

Declaration

var token: Data { get }

Discussion

Forward this token to the server you use to generate push notifications. When preparing to deliver a push notification to the current device, include the token in the HTTP request you send to Apple Push Notification service (APNs).

See Also

Getting the Token