<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVSpeechSynthesizer/stopSpeaking(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSpeechSynthesizer(im)stopSpeakingAtBoundary:"
  },
  "title" : "stopSpeaking(at:)"
}
-->

# stopSpeaking(at:)

Stops speech at the boundary you specify.

```
func stopSpeaking(at boundary: AVSpeechBoundary) -> Bool
```

## Parameters

`boundary`

An enumeration that describes whether to stop speech immediately or only after the synthesizer finishes speaking the current word.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if speech stops; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Unlike pausing a speech synthesizer, which can resume after a pause, stopping the synthesizer immediately cancels speech and removes all unspoken utterances from the synthesizer’s queue.

---

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)