Poor Quality output when MusicBox connected to Airplay (IOS)

I’m guessing here but the issue might be related to the volume levels that you are changing rather than the fact that you are using Airplay.

Perhaps the starting point should be to check your setup as per Settings for piMusicBox 0.6 and HifiBerry Dac +?