What bluetooth audio codec does iOS use for Airpods?

Solution 1:

You can't tell which codec is used on iOS, but AirPods use SBC or AAC. On macOS, you can check which one is in use by going to the Bluetooth menu, clicking on your Airpods with the "Alt" key pressed.

Bluetooth menu screenshot