<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageCaptureCore",
  "identifier" : "/documentation/ImageCaptureCore/ICScannerDeviceDelegate/scannerDeviceDidBecomeAvailable(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ImageCaptureCore"
    ],
    "preciseIdentifier" : "c:objc(pl)ICScannerDeviceDelegate(im)scannerDeviceDidBecomeAvailable:"
  },
  "title" : "scannerDeviceDidBecomeAvailable(_:)"
}
-->

# scannerDeviceDidBecomeAvailable(_:)

Tells the client when another client closes the current open session on the scanner.

```
optional func scannerDeviceDidBecomeAvailable(_ scanner: ICScannerDevice)
```

## Discussion

Scanners require exclusive access. Only one client can open a session on a scanner at a time. The scanner is available if it does not have a session opened by another client. Attempting to open a session on a scanner that already has an open session for another client will result in an error.

To open a session on a scanner as soon as it is available, implement this method and call [`requestOpenSession()`](/documentation/ImageCaptureCore/ICDevice/requestOpenSession()) in the method body.

---

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)