@benwiggy This was the only way I could reliably start and stop audio feedback.
viewWillDisappear is not called immediately when you navigate away from your file, it looks like the OS keeps 2-3 preview controllers active as you navigate between files.
Here's the workaround that seem to work on Ventura:
https://stackoverflow.com/a/76433758/1182910
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: