Yes, it can. The iOS device's built-in screen recorder has a feature that can capture external audio while recording your screen. However, you must enable it for it to work. To do this, proceed to your control center, Press and hold the Screen Recording icon, and click on the mic icon.