UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

SOLVED: Turn of notifications

Forums > SwiftUI

i am writing a 2 player game. whilst playing the game i sometimes get notifications from other apps like BBC News. this can be distracting, is there a way i can turn off or suppress these notifications until the game finishes?

   

You can try and configure and set a Focus state.

   

As @Hatsushira says

Go to Settings>Focus>Gaming then you can change Lock/Home/Watch screens and if you want an apps/people to over ride focus, and will even set the focus when you connect a Wireless Controller

1      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.