Swift Tom

Check out my WatchOS app Status of Github that I made using SwiftUI!

How to Know When Your App Becomes Active or Inactive in SwiftUI

Recently I was working on a SwiftUI project were I needed to know when my app became active from being in the background. Like most things in SwiftUI, I found out that this was really simple to implement in my project. In SwiftUI we have a environment element called scenePhase. What scenePhase allows us to…

Follow My Blog

Get new content delivered directly to your inbox.