---
title: "deviceDidChangeName(_:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/icdevicedelegate/devicedidchangename(_:)"
---

# deviceDidChangeName(_:)

Tells the delegate when the name of a device changes.

## Declaration

```swift
optional func deviceDidChangeName(_ device: ICDevice)
```

## Discussion

Discussion This happens if the device module overrides the default name of the device reported by the device’s transport layer, or if the name of the filesystem volume mounted by the device is changed by the user. Execution of the delegate callback occurs on the main thread.

## See Also

### Responding to Device Changes

- [deviceDidChangeSharingState(_:)](imagecapturecore/icdevicedelegate/devicedidchangesharingstate(_:).md)
