AVAudioSessionRouteChangeNotification is not posted on main thread

Originator:padraig.kennedy
Number:rdar://27627569 Date Originated:30-Jul-2016 03:41 PM
Status:Open Resolved:
Product:iOS SDK Product Version:10.0 beta 3
Classification:Serious Bug Reproducible:Always
 
Summary:

The documentation claims that this is posted on the main thread, but it is in fact posted on the AVAudioSession Notify Thread.

Steps to Reproduce:
1. Observe the AVAudioSessionRouteChangeNotification
2. Set a break point in the called method
3. Note the thread that the notification is called on. 

Expected Results:
It should be the main thread, or the documentation should be updated.

Actual Results:
The documentation promises the main thread, but the observer behaviour is that the notication is posted on the AVAudioSession Notify Thread.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!