How to check if your iOS App comes into the foreground or background
I’ve been battling with those AppDelegate methods for a while, thinking “I wish there was a way that I don’t have to use those methods”. And guess what: there is! Instead of adding code where it doesn’t make sense, we can listen to a system wide notification that tells us our app has come into […]