News for hackers. Stuff that matters.
Re:Show HN: Dead simple Hacker News reader for iOS by nayefc on Thursday October 03, 2013 @12:21PM (#6490002)
The app will not preload every time new items come in. This is a common misconception about iOS 7. iOS 7 schedules these apps to run very infrequently to save battery. Some times it will take many hours to do a background refresh.
Re:Show HN: Dead simple Hacker News reader for iOS by alariccole on Thursday October 03, 2013 @12:56PM (#6490248)
I've got a few apps built using this API, so I can chime in. It is definitely based on usage patterns--the more you use a particular app, the more often it will refresh. It's also certainly based on battery life at the time, but also the requirements of the app.

With Pivit, since it's such a compact fetch, it'll happen more frequently than if you were, for instance, downloading photos. I check HN a lot, so for me, the app is always up to date. It does take a bit of learning time for the OS to know your patterns, but it is well worth it--it's really a great new API.

Re:Show HN: Dead simple Hacker News reader for iOS by nayefc on Thursday October 03, 2013 @08:29PM (#6493048)
Oh wow. It's cool that the OS is actually smart to optimise it that way.
Re:Show HN: Dead simple Hacker News reader for iOS by mertdumenci on Thursday October 03, 2013 @12:26PM (#6490026)
Or it may not even refresh at all. From the docs, it seems like it's a pretty intelligent API that optimises itself with usage.
Re:Show HN: Dead simple Hacker News reader for iOS by alariccole on Thursday October 03, 2013 @12:58PM (#6490259)
It seems to be smartly batched with other network fetches. I did some tests using a local notification to let me know when it occurred, and it happened most often when sending an app into the background or finishing up another network task.