<!--
{
  "availability" : [
    "macOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetoothUI",
  "identifier" : "/documentation/IOBluetoothUI/IOBluetoothPasskeyDisplay/setPasskey(_:for:usingSSP:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "IOBluetooth UI"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothPasskeyDisplay(im)setPasskey:forDevice:usingSSP:"
  },
  "title" : "setPasskey(_:for:usingSSP:)"
}
-->

# setPasskey(_:for:usingSSP:)

```
func setPasskey(_ inString: String!, for device: IOBluetoothDevice!, usingSSP isSSP: Bool)
```

---

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)