Skip to content

Comment on Anatomy of a Native Feeling HTML5 iOS Appparent

Comments

-webkit-overflow-scrolling:touch disables the feature where tapping the phone's status bar scrolls content back to the top. That has been a showstopper for most of the things I have worked on.

True. I wonder if there's a fix for this in PhoneGap, at least.

One workaround that was functional but subpar experience-wise:

Put a transparent UIView over the status bar and wire it up to call a javascript function on your UIWebView using stringByEvaluatingJavaScriptFromString.

That sounds like a bug. Have you submitted a radar on it?

You can fake it with some pretty simple Javascript.

I have tried many a workaround, all quickly reveal a pretty crappy non-native experience.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.