---
title: "tagReaderSession(_:didDetect:)"
framework: corenfc
role: symbol
role_heading: Instance Method
path: "corenfc/nfctagreadersessiondelegate-2joku/tagreadersession(_:diddetect:)"
---

# tagReaderSession(_:didDetect:)

Tells the delegate that the session detected NFC tags.

## Declaration

```swift
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

Discussion The polling options specified when creating an NFCTagReaderSession object determine the types of tags that the session can detect.
