Blocking notifications while playing games on Android can be done with game accelerators and boosters. This is not so simple by iOS. Because there is no application like game accelerator on iOS. 3rd party software is also available by Android while companies use their own accelerators for their phones. There is no such thing on the iOS side. When you open the game with the help of these applications on the Android side, the background is cleared and notifications are blocked while the game is open. The notification continues to come, but neither appears in the notification bar, nor sounds. It definitely does not bother you. In this article, let's see how we can do this on iPhone;
That's all you can do for now. Follow one of these steps while playing games. Or apply all you can apply for warranty results. Don't forget to change it back after your game is over.