5 ms·
One of my pet peeves is people saying this about iOS. What he says is a half-truth, a mixture of two different features. ( Link TLDR: Apple takes a screenshot o
by orta 14y ago
One of my pet peeves is people saying this about iOS. What he says is a half-truth, a mixture of two different features. ( Link TLDR: Apple takes a screenshot of your app and shows it on launch )
What actually happens: When you background the app, Apple takes a screenshot to do the fade-out animation with. This caused a bit of hubhub a few years ago because if you jailbreak you can find the screenshot of the last closed app .
It's actually the developers job to give a launch image for the app itself, and the apple guidelines are that you should aim to emulate your app's homepage with no data in it. You don't have to, we don't at http://art.sy http://art.sy - Which isn't Apple taking a screengrab.
A simple way to think about this is, what happens if you open the app in a different orientation a screenshot wouldnt work then.
- celalo 14y agoI don't understand the technique at art.sy - It loads a lot of stuff when you open a page for the first time but interestingly when you navigate for another page, it does not seem to be loading anything except for a 1x1 gif. How come the URL changes (full change not just like hashbangs) but nothing particular is loaded from the server? Is there a name for this technique? Is there any framework supports this?
- orta 14y agoSorry, I should have been more specific, I meant for the art.sy iPad app! A lot of what the website does is black-magic (or backbone js -whichever) to me :)
- TazeTSchnitzel 14y agoHTML5 history.pushState
- celalo 14y agoThanks a lot.
- udp 14y agoI still don't understand why Twitter doesn't use that where available.
- orta 14y agoThey are working on that right now: http://engineering.twitter.com/ http://engineering.twitter.com/
- pooriaazimi 14y agoFYI, GitHub uses it extensively in their source browser: https://github.com/blog/760-the-tree-slider https://github.com/blog/760-the-tree-slider
- scott_w 14y agoBecause when Twitter started, pushState wasn't available to them. It will take time to transition over, and to fully deprecate hash bangs. (Hash Bangs were still the wrong way to do it of course, even back then).
- stuartjmoore 14y agoThe poster is right, iOS takes a screenshot and uses it when switching to your app. The default.png is used only when you first open the app (ie, it was closed). What happens when you switch orientations? The screenshot/app will show as rotated and rotate to whatever angle the device is currently at.
- orta 14y agoI've just spend some time checking, and you're right, I've never noticed it actually do that, seems quite inelegant for it to just flick instantly.