iOS 7 onwards, apps can get up to three minutes of background running time. The max running time can be reduced in future iOS updates.