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      

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

Find out more

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.