Text to speech - Stop Button

Hello!

I'm a beginner and I'm trying to create my 1st app about text to speech.

I've created 2 buttons. As you can see: the first one (Say it) works very well and read the text you write in the textfield.

But if I wanna stop reading it ? How can I do that? Sorry if my question is silly, but I'm trying to learn 🙂

Thank you for your answer. Be gentle, please!

Replies

Not silly, but not clear. Please show your code.

Please show your code.

It would also help if you told us what platform you’re working on.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"