---
title: stopAdvertising()
framework: corebluetooth
role: symbol
role_heading: Instance Method
path: corebluetooth/cbperipheralmanager/stopadvertising()
---

# stopAdvertising()

Stops advertising peripheral manager data.

## Declaration

```swift
func stopAdvertising()
```

## Discussion

Discussion Call this method when you no longer want to advertise peripheral manager data.

## See Also

### Managing Advertising

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