---
title: "restartPolling(with:)"
framework: corenfc
role: symbol
role_heading: Instance Method
path: "corenfc/nfctagreadersession/restartpolling(with:)"
---

# restartPolling(with:)

## Declaration

```swift
func restartPolling(with configuration: NFCTagReaderSessionConfiguration)
```

## Parameters

- `configuration`: Reader configuration used for the polling restart. The configuration does not persist in the current active session, i.e. [NFCTagReaderSession restartPolling] would use the original configuration from session instance initialization.

## Discussion

Discussion Restart the polling sequence in this session to discover new tags using the provided configuration.  New tags discovered from polling will return in the subsequent [NFCTagReaderSessionDelegate tagReaderSession:didDetectTags:] call. Tags that are returned previously by [NFCTagReaderSessionDelegate tagReaderSession:didDetectTags:] will become invalid, and all references to these tags shall be removed to properly release the resources.  Calling this method on an invalidated session will have no effect; a new reader session is required to restart the reader.
