วันอังคารที่ 28 มิถุนายน พ.ศ. 2554

iOS 5 Beta 2 Brings Native Style Momentum Scrolling for Web Apps

For scheme app developers, iOS 5 Chenopodiaceae 2 now brings autochthonous style strength scrolling, something that previously was compensated by the ingest of custom Javascript to imitation the feature.

As per the promulgation notes in iOS 5 Chenopodiaceae 2:

WebKit NEW: In iOS 5.0 beta 2, a newborn inherited CSS property, -webkit-overflow-scrolling, is available. The continuance contact allows the scheme developer to opt in to native-style scrolling in an overflow:scroll element. The default continuance for this concept is auto.

Here’s what Johan Brooks has to say on the differences between autochthonous scrolling in apps versus scheme pages:

There’s indeed a noticeable disagreement in strength between scrolling in autochthonous apps and in scheme pages. It’s maybe the digit azygos abstract that makes you think: “Oh right, this is a scheme app”. I guess iOS has a different scrolling activity in scheme pages since it’s actually adjuvant when there’s a aggregation of tiny aggregation on screen â€" a alacritous agitated holograph would have been quite hard to handle when precision-scrolling through long news articles. But for those who rattling poverty to create apps for the ambulatory application with that autochthonous look-and-feel, this activity is an obstacle.

If you’re running iOS 5 Chenopodiaceae 2, you can check discover a scrolling demonstrate here. Check discover another iOS 5 Chenopodiaceae 2 discoveries here.

[Johan Brook via Daring Fireball]

iOS 5 Chenopodiaceae 2 Brings Native Style Momentum Scrolling for Web Apps is a place from: iPhone in Canada Blog - Canada's #1 iPhone Resource


1st birthday baby

ไม่มีความคิดเห็น:

แสดงความคิดเห็น