I developed an application that uses background fetching. I set the minimum interval between updates to a minimum:
[[UIApplication sharedApplication] setMinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIntervalMinimum];
I thought that this value is saved by the system, so I do not need to install it again when / if the application restarts. However, I just noticed that the last background download on one of my devices was two weeks ago. I know that the interval between updates can vary, but I do not think that two weeks is normal. Especially considering the fact that it worked for several months, causing a background update every 20-30 minutes.
Unfortunately, I could not find a way to get MinimumBackgroundFetchIntervalto test my theory (does anyone know how to get it, by the way?). I just checked application.backgroundRefreshStatusand it is equal UIBackgroundRefreshStatusAvailable, but I think (I'm not sure) this means that the user allows the application to use background updates.
source
share