Background Modes in iOS
Being responsive is a need for every app. Users want to have apps which have their content ready when they open it, so developers should use Background Modes to make their apps more user friendly.
Turning on the Background Modes capability
1. Go to Xcode and open your project.
2. In your app target, navigate to Capabilities tab. 3. Turn on Background Modes.