init(records:)
Creates an NDEF message with the specified records.
Declaration
init(records: [NFCNDEFPayload])Parameters
- records:
An array of payload objects for the message. To create an empty message, pass in an empty array.
Return Value
A newly initialized NDEF message object.