I know that with push notification and background fetch that comes with iOS 7 we can get download new data. A client of mine do not want to use Apple APN service they use a comet server that pushes news. Background service stop in 3 minutes and we lost connection and I can't create local notification. Can background fetch solves this? When the app in the background if it can check every few minutes whether new content available I can create local notification and mimic push notification. One downside will be it won't work if app is closed only in background right? Or background fetch must be triggered by only push notification for 30 second download. I have looked at Titanium Studio documentation but not very helpful. Even sample program does not work while app is in background. Can I mimic push notification in this situation? Could you share a sample simple working code?
↧