[TIMOB-7955] iOS: Add scrollsToTop and disableBound to WebView and ScrollView
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-14T14:53:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | iOS |
Labels | qe-port |
Reporter | David Aurelio |
Assignee | Neeraj Gupta |
Created | 2012-03-09T15:05:16.000+0000 |
Updated | 2012-08-16T14:36:51.000+0000 |
Description
[Pull Request #93](https://github.com/appcelerator/titanium_mobile/pull/93) adds the following iOS-specific features to Titanium Mobile:
- Adds the
disableBounce
(known from ScrollViews) property to WebViews
- Adds a scrollsToTop
property to ScrollView and WebView, that allows to control which visible scrollable view scrolls to top when the status bar is tapped.
Attached is a simple demo project that demonstrates the added feature. Compile with the patch applied.
Attachments
File | Date | Size |
---|---|---|
Scroll Demo.zip | 2012-03-09T15:05:16.000+0000 | 2321684 |
We should have a parity discussion about this feature.
FYI: these features have been used successfully in production in the initial version of http://itunes.apple.com/de/app/chip-app-guide/id396310427 (for a carousel with webviews). However, it seems that the application has been changed dramatically since then and the functionality has been removed.
Community pull #93 merged. Credit to davidaurelio
Verified fix with: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.2.0.v20120816105712 Devices: iPhone 4.3.5 Simulator 5.1 Mac osx 10.8 Mountain Lion