AVAudioSessionCategoryOptionAllowBluetooth incorrectly marked as deprecated in iOS 8 in iOS 26 beta 5

AVAudioSessionCategoryOptionAllowBluetooth is marked as deprecated in iOS 8 in iOS 26 beta 5 when this option was not deprecated in iOS 18.6. I think this is a mistake and the deprecation is in iOS 26. Am I right?

It seems that the substitute for this option is "AVAudioSessionCategoryOptionAllowBluetoothHFP". The documentation does not make clear if the behaviour is exactly the same or if any difference should be expected... Has anyone used this option in iOS 26? Should I expect any difference with the current behaviour of "AVAudioSessionCategoryOptionAllowBluetooth"?

Thank you.

Answered by DTS Engineer in 854601022

Hello @RaulMartin,

The documentation does not make clear if the behaviour is exactly the same or if any difference should be expected...

The behavior of allowBluetooth and allowBluetoothHFP are exactly the same.

AVAudioSessionCategoryOptionAllowBluetooth is marked as deprecated in iOS 8 in iOS 26 beta 5 when this option was not deprecated in iOS 18.6. I think this is a mistake and the deprecation is in iOS 26. Am I right?

I also believe this is a mistake, please file a bug report for the deprecation markings on allowBluetooth.

--Greg

Accepted Answer

Hello @RaulMartin,

The documentation does not make clear if the behaviour is exactly the same or if any difference should be expected...

The behavior of allowBluetooth and allowBluetoothHFP are exactly the same.

AVAudioSessionCategoryOptionAllowBluetooth is marked as deprecated in iOS 8 in iOS 26 beta 5 when this option was not deprecated in iOS 18.6. I think this is a mistake and the deprecation is in iOS 26. Am I right?

I also believe this is a mistake, please file a bug report for the deprecation markings on allowBluetooth.

--Greg

Thank you very much for your answer. I already filed the bug report:

https://feedbackassistant.apple.com/feedback/19734715

AVAudioSessionCategoryOptionAllowBluetooth incorrectly marked as deprecated in iOS 8 in iOS 26 beta 5
 
 
Q