---
title: "setIssueIcon(_:forPeripheral:)"
framework: Playground Bluetooth
role: symbol
role_heading: Instance Method
platforms: [xcode 10.2+, swift playgrounds 2.0+]
path: playgroundbluetooth/playgroundbluetoothconnectionview/3029516-setissueicon
---

# setIssueIcon(_:forPeripheral:)

Displays an icon indicating that the specified peripheral is available but may not be usable.

## Declaration

```swift
func setIssueIcon(_ issueIcon: UIImage, forPeripheral peripheral: CBPeripheral)
```

## Parameters

- `issueIcon`: An icon indicating that the specified peripheral may not function correctly.
- `peripheral`: The problematic peripheral.

## Discussion

Discussion Use an issue icon to indicate problems such as outdated firmware or a lost connection.

## See Also

### Displaying Individual Details

- [setBatteryLevel(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029513-setbatterylevel.md)
- [setFirmwareStatus(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029514-setfirmwarestatus.md)
- [setIcon(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029515-seticon.md)
- [setName(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029518-setname.md)
