Sometimes, I got an exception setting a category, a mode, and some options. But the documentation doesn't have the exception/errors described. Also, the error isn't clear enough. What are the errors that I can expect? And how can I prevent a wrong combination of category, mode, and options?
AVAudioSession set category, mode and options combinations
Can you paste into this thread the message shown along with the exception (plus the category/mode/option combination you specified)?
There might be some documentation of valid combinations in the individual doc pages for categories, modes and options, and sometimes there's a bit more detail in the header files (which you can get to in Xcode by Command-clicking on a symbol or using Command-Shift-O).
However, if the documentation is lacking important information, a bug report would be very useful.
There might be some documentation of valid combinations in the individual doc pages for categories, modes and options, and sometimes there's a bit more detail in the header files (which you can get to in Xcode by Command-clicking on a symbol or using Command-Shift-O).
However, if the documentation is lacking important information, a bug report would be very useful.