---
title: isAdvertising
framework: corebluetooth
role: symbol
role_heading: Instance Property
path: corebluetooth/cbperipheralmanager/isadvertising
---

# isAdvertising

A Boolean value that indicates whether the peripheral is advertising data.

## Declaration

```swift
var isAdvertising: Bool { get }
```

## Discussion

Discussion This value is true if the peripheral is advertising data as a result of successfully calling the startAdvertising(_:) method. The value is false if the peripheral is no longer advertising its data.

## See Also

### Managing Advertising

- [startAdvertising(_:)](corebluetooth/cbperipheralmanager/startadvertising(_:).md)
- [Advertising Data](corebluetooth/advertising-data.md)
- [stopAdvertising()](corebluetooth/cbperipheralmanager/stopadvertising().md)
