How to mute ads separately on iOS while using YouTube?

When I play games that have intrusive ads, sometimes there are these loud ads with no mute button, and every time, the music I'm listening to on YouTube just goes silent. Then I have to go back and press play again. It's incredibly frustrating! I've always used Android before and just switched to iOS for the first time, and I'm really upset about this. So, I want to know, is there a way to mute ads separately on iOS, similar to Android?


I use YouTube Premium and have tried every setting I can, but when an ad pops up while I'm playing a game, it still has sound and mutes my YouTube every time.


Please, if there's a way, help me before I have to say goodbye to iOS and go back to Android.


[Re-Titled by Moderator]

Original Title: When I'm playing a game with ads, and the sound from the ads gets really loud while I'm also using YouTube, can I mute it?

iPhone 16 Pro Max, iOS 18

Posted on Jul 12, 2025 8:42 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 12, 2025 2:42 PM

The foreground app is always going to have control over any audio that is playing, whether that is from the app or if it is going to allow play through audio from another source. It can pause/resume or even prevent audio from playing from another source. There is no ranking of audio that is determined by iOS, it is the sole discretion of the app you are currently using. If your current foreground app is not resuming your previous background music, that is either by design of the developer or an oversight on the developers part if they have not resumed your audio after they told the system to pause it for the content they want to play.


From the Developers perspective, this is done using the AVAudioSession framework within their app. The default behavior is to pause background audio when the app chooses to play something, but they can certainly configure the AVAudioSession to perform any way they wish. A game that plays ads is making the choice to have the ad content play instead of your background audio for monetary reasons and they are sending the Pause command to the System for your background music.

AVAudioSession | Apple Developer Documentation


In addition to the 2 previous solutions of not using that particular app, or choosing an in-app purchase option to eliminate the ads, I should also have added a 3rd option to contact the developer as they are certainly capable of resuming your background music after it has been paused, if they wish. You are having to manually start your background music again, because the foreground app is not doing it for you. If a Developer wants to allow this, they must notify the system to return your previous audio source:

Let other apps know when your app finishes playing temporary audio. If your app can temporarily interrupt the audio of other apps, be sure to flag your audio session in a way that lets other apps know when they can resume. For developer guidance, see notifyOthersOnDeactivation.

Playing audio | Apple Developer Documentation


Sorry to get into the weeds on how developers use these API's, but the point is that the foreground app has total control of the audio playing while you are using that app.


12 replies
Question marked as Top-ranking reply

Jul 12, 2025 2:42 PM in response to xWauwau

The foreground app is always going to have control over any audio that is playing, whether that is from the app or if it is going to allow play through audio from another source. It can pause/resume or even prevent audio from playing from another source. There is no ranking of audio that is determined by iOS, it is the sole discretion of the app you are currently using. If your current foreground app is not resuming your previous background music, that is either by design of the developer or an oversight on the developers part if they have not resumed your audio after they told the system to pause it for the content they want to play.


From the Developers perspective, this is done using the AVAudioSession framework within their app. The default behavior is to pause background audio when the app chooses to play something, but they can certainly configure the AVAudioSession to perform any way they wish. A game that plays ads is making the choice to have the ad content play instead of your background audio for monetary reasons and they are sending the Pause command to the System for your background music.

AVAudioSession | Apple Developer Documentation


In addition to the 2 previous solutions of not using that particular app, or choosing an in-app purchase option to eliminate the ads, I should also have added a 3rd option to contact the developer as they are certainly capable of resuming your background music after it has been paused, if they wish. You are having to manually start your background music again, because the foreground app is not doing it for you. If a Developer wants to allow this, they must notify the system to return your previous audio source:

Let other apps know when your app finishes playing temporary audio. If your app can temporarily interrupt the audio of other apps, be sure to flag your audio session in a way that lets other apps know when they can resume. For developer guidance, see notifyOthersOnDeactivation.

Playing audio | Apple Developer Documentation


Sorry to get into the weeds on how developers use these API's, but the point is that the foreground app has total control of the audio playing while you are using that app.


Jul 12, 2025 12:01 PM in response to AiRiXIII

The core issue is: you are listening to music, via YouTube, in the background. Meanwhile, you are playing a game, where you probably have in-game volume turned down, I don’t know. So, then there is a certain point, when the game decides, whoops, and plays an ad. iOS will probably consider this as new content being delivered. Similar to me listening to Apple Music, opening YouTube and playing a video. In both cases, iOS will pause background play and continue playing the in-game sound, in this case, the ad. After the ad ends, you will need to resume background play either via the control center or by returning to YouTube. Same concept applies to the fb/ig problem. iOS will rank the content being played in the foreground higher than your background play. Period. Only way to possibly get around it, is I’d imagine if you have your music video play Picture in Picture, and slide it to the side, which you can do since you are a YouTube premium subscriber, iOS won’t stop it for the ad, or you can at least swiftly resume playing the music (if you start it when the ad is currently running, it will “outrank” the ad again). Any other solutions or corrections by other members are appreciated. Thanks.

Jul 12, 2025 11:49 AM in response to AiRiXIII

It is up to the Developer of the game to allow muting the sound/ads while playing their game. If you don't like the behavior of the game you are playing, you have 2 options:

  • Don't support that developer any longer by playing their game/app.
  • Choose an in-app purchase if offered to eliminate the ads.


The developer spends their own time and money to create the game and continue to update it for their customers, so the income to be able to do that is either going to come from the ads they play or from an in-app purchase to remove the ads. On your device you can turn all sound on/off, but with it on, your options depend on the app you are using. YouTube also runs ads and for those it is up to them on if you are allowed to mute them while still being able to listen to the content when the ad finishes. That is also why you are given the option to purchase Premium Youtube to prevent the ads. The same is true for the apps/games you are using.

Jul 13, 2025 1:39 AM in response to AiRiXIII

If you read Mac Jim ID’s response, it says effectively “not possible, game developer missed out on programming the game sufficiently”. The game doesn’t want you to hear the music, it wants you to listen to the ad. If you don’t like that, you need to stop supporting that game. So, yes. No way to get around it unfortunately.

Jul 12, 2025 11:32 AM in response to Allan Jones

I might not have been clear. I listen to music via YouTube Premium while playing games, so yes, they are separate apps.


I've tried adjusting settings on both the YouTube app and my iPhone, but I still can't block the ad audio coming from the game. I'm just wondering if anyone has a solution, because when I played games on Android, it was able to separate the game audio.

Jul 12, 2025 11:35 AM in response to lobsterghost1

I know it's not an Apple product, and I've already mentioned I've tried everything. I'm not sure if anyone else who plays games encounters ads while playing, because I'm playing games and listening to music via YouTube at the same time.

Or even when I come across videos on Facebook or X, it cuts my music and plays the video's audio instead. I just want to find a solution for this, as I'm new to iOS.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to mute ads separately on iOS while using YouTube?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.