iOS 7 Safari & New Web Platform Features
blogs.adobe.com
blogs.adobe.com
The WebKit folks were playing with position: sticky [1] a while earlier. This might be pretty close to what you need.
There’s another solution I’ve used in production — for touch UI, do your own gesture handling and do your own scrolling. This can be done thru Zynga’s Scroller [2] which works very nicely on an iPad 3 — the device I last tested an app with it on.
Summary: in Cocoa, common things are easily and other things are doable. If something is not easy in Cocoa, it might be difficult to get right anyway.
[1] http://updates.html5rocks.com/2012/08/Stick-your-landings-po...
Apple want to keep scrolling responsive at all costs and definitely wouldn't let those pesky JS developers make Mobile Safari appear slow and laggy.
Still, neat to see that Apple is shipping some of Adobe's new prototype css/canvas features. They seem pretty useful.
1) They want to show they are a leader.
2) They want to encourage iOS app developers to use these features now, instead of, or along with native code. After all, Apple will have 85-90% of its devices upgraded in 6 months. You can make an ios7 only app and ship today. 50 million people are using it.
3) They want to encourage further browser adoption.
I could have posted a screenshot but I thought it was nice to have people play with the demo within the browseer, probably will stick to screenshots next time.