<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreNFC",
  "identifier" : "/documentation/CoreNFC/NFCTagReaderSessionDelegate-2joku/tagReaderSession(_:didDetect:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core NFC"
    ],
    "preciseIdentifier" : "s:7CoreNFC27NFCTagReaderSessionDelegateP03tagdE0_9didDetectySo0cdE0C_SayAA0C0OGtF"
  },
  "title" : "tagReaderSession(_:didDetect:)"
}
-->

# tagReaderSession(_:didDetect:)

Tells the delegate that the session detected NFC tags.

```
func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag])
```

## Parameters

`session`

The session that detected the tags.

`tags`

An array of NFC tags detected by the session.

## Discussion

The polling options specified when creating an [`NFCTagReaderSession`](/documentation/CoreNFC/NFCTagReaderSession) object determine the types of tags that the session can detect.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)