I use a lazy loading technique for images. Whenever a new image appears in the viewport the src attribute will be set so the image can be loaded. This technique has been working for years, until iOS7 came out.
It's working fine with a regular pageview. But when you close the browser, wait a bit, open some other apps perhaps, and then come back it isn't working anymore. Sometimes switching between tabs kills the functionality as well.
$(window).bind('scroll resize', function () {
checkImages();
});
See JSFiddle for a complete demo: http://jsfiddle.net/NZqGL/1/
I'm aware of JavaScript execution being suspended for inactive apps and browser tabs. But events being unbound is new for me.
It's also very hard to test, since the behaviour is very unpredictable. Sometimes it takes 2 seconds of inactivity to get broken, sometimes it'll just keep working.
Tested on iOS 7.0.4
Update Feb 12th 2014: this is a confirmed bug in iOS 7.0, Apple has confirmed this will be fixed in iOS 7.1.