objective c - Is it possible to use Background Fetch (or any other iOS mechanism) to download some files at specified interval? -


i have basic knowledge of ios programming, though, understand concepts , limits (and i'am experienced programmer on other platforms).

i asked prepare project, require ios app download basic office files (whenever available) , keep them in local ipad storage, accessible offline. sake of simplicity let's say, published on kind of web servers. , should work on 3g.

now, understand, first way keep data (files) date synchronize them whenever user opens app , has access network (internet).

it becomes more complicated when need in addition try keep them synced while app not running / ipad/iphone lays on table.

is possible use f.e. "background fetch" (or other mechanism) download files in background? know 30 second window (this should enough, or - if must enough, can adapt synchronized files sizes make possible). don't need have strict intervals, nice, though.

i understand, when files stored locally, it's not rocket science open them in installed apps (like open excel files in installed numbers)?

another idea (instead of app) use special mailbox (we use exchange 2010) such documents stored , organized in folders (ipad mail app supports this, not bad). way, synrchonization performed immediatelly. question happens attachements - believe not downloaded before user opens email?

eventually other ideas/concepts realise such task?

look @ documentation silent push notifications , background transfer service. can send silent push notification app alerting there files downloaded. can wake app in background , allow kick off background transfer download newly-available files.

also have @ wwdc 2013 video entitled "what's new multitasking", session 204 wwdc (https://developer.apple.com/wwdc/videos/).


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -