DEV Community

Discussion on: How to detect when app moves to background or foreground

Collapse
 
hissain profile image
Md Sazzad Hissain Khan

selector appMovedToBackground should be changed to appMovedToForeground in your first code snippet.