4 ms·
A shameless plug, but my app is brand new, free, and shows comments legibly. But the #1 feature: background refresh. It uses new APIs in iOS 7 to preload the f
by alariccole 13y ago
A shameless plug, but my app is brand new, free, and shows comments legibly. But the #1 feature: background refresh.
It uses new APIs in iOS 7 to preload the front page before you open it.
Pivit - https://itunes.apple.com/us/app/pivit/id705715915 https://itunes.apple.com/us/app/pivit/id705715915
- smackfu 13y agoThis is nice, but I wish the main post listing was a bit denser. It ends up with a lot of white space since it seems to be using fixed height cells which are sized for longer titles.
- mertdumenci 13y agoHey, developer of the app here. I tried out your app, looks awesome — congrats! Background refresh and comments are planned for Hack Later. Feature request for Pivit : I'd love if the web view had some controls (back, forward, refresh etc.) and the comments had some contrast, it's really hard to focus to a thread. And yes, this is a shameless plug.
- nayefc 13y agoThe 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.
- mertdumenci 13y agoOr it may not even refresh at all. From the docs, it seems like it's a pretty intelligent API that optimises itself with usage.
- alariccole 13y agoIt 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.
- alariccole 13y agoI'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.
- nayefc 13y agoOh wow. It's cool that the OS is actually smart to optimise it that way.