I'm about setting up background fetch for an iOS application.
I do:
func application(
application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?
) -> Bool {
...
application.setMinimumBackgroundFetchInterval(
UIApplicationBackgroundFetchIntervalMinimum)
...
if I inspect and print UIApplicationBackgroundFetchIntervalMinimum
in the debugger it says 0
- what is the value actually ?
I tried looking through the api as well but no luck https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/setMinimumBackgroundFetchInterval:
It is not specified by Apple how long UIApplicationBackgroundFetchIntervalMinimum
time is, however in practice it is around 10 minutes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With