An iOS app can run in the background only for 10 minutes. However, the time can depend on the different versions of iOS.