---
title: length
framework: corenfc
role: symbol
role_heading: Instance Property
path: corenfc/nfcndefmessage/length
---

# length

The length, in bytes, of the NDEF message when stored on an NFC tag.

## Declaration

```swift
var length: Int { get }
```

## Discussion

Discussion The maximum length of an NDEF message is 128 KB.
