how does background tasks / data fetch work on tvOS?

Hi,


I wonder if it is possible to start background task on tvOS (I think so, because in API dif doc the method UIApplication beginBackgroundTaskWithExpirationHandler:]is just modified in tvOS). Also [UIApplicationDelegate application:performFetchWithCompletionHandler:] is only modified.


Is there any other (maybe better) behavior on tvOS than on iOS? I mean, on iOS setMinimumBackgroundFetchInterval is just a wish and a minimum. But if I set it on iOS on 3600s to look for data every hour, it could also last half a day or more until a fetch is invoked. For an iPhone this is understandable to save battery - but on an allways power-connected device the interval could be handled more exactly. Are there any informations about the behavior for background task / data load?


Thanks,

Emil

Answered by in 53060022

Please file a bug report at https://bugreport.apple.com for features you'd like to see.

Accepted Answer

Please file a bug report at https://bugreport.apple.com for features you'd like to see.

I have configured everything, but when I simulate a Background Fetch on the AppleTV DevelopmentKit I get an error:


https://forums.developer.apple.com/message/60021#60021

how does background tasks / data fetch work on tvOS?
 
 
Q