[ALOY-1519] Alloy: Support iOS 10 <RefreshControl> tag in Ti.UI.ScrollView
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-10-03T18:40:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0, alloy 1.9.3 |
Components | XML |
Labels | ios10, qe-6.0.0, refresh, scrollview |
Reporter | Hans Knöchel |
Assignee | Feon Sua Xin Miao |
Created | 2016-09-13T11:17:09.000+0000 |
Updated | 2017-08-28T22:26:49.000+0000 |
Description
We introduced theTi.UI.RefreshControl
usage in the Ti.UI.ScrollView
in TIMOB-23524. It is a new iOS 10 feature we exposed to the proxy. Now we need the Alloy parser-binding to use it in the XML like we already can do with the Ti.UI.TableView
and Ti.UI.ListView
.
Comments
- Feon Sua Xin Miao 2016-09-22 PR: https://github.com/appcelerator/alloy/pull/799
- Hans Knöchel 2016-09-24 PR merged, thx! Please leave a note when the new Alloy build is ready for QE-testing. Thx!
- Harry Bryant 2016-09-29
Using the following test code (grabbed from the PR), the RefreshControl does not appear to work on iOS10 / 9 Simulators and Devices:
*index.js*
*index.tss*function doRefresh(e) { alert('refreshed'); } $.index.open();
*index.xml*'#index': { backgroundColor: '#fff', fullscreen: false, exitOnClose: true }
Verified that refreshControl works correctly in a classic mobile application. Tested On: iPhone 6 Plus 10.0.2 Device & Simulator iPhone 5S 9.3.5 Device & Simulator Mac OSX El Capitan 10.11.6 Ti SDK: 6.0.0.v20160929031439 Alloy: 1.9.2 Appc Studio: 4.8.0.201609232005 Appc NPM: 4.2.8-7 App CLI: 6.0.0-54 Xcode 8.0 Node v4.4.7 *Reopening Ticket.*<Alloy> <Window> <ScrollView> <RefreshControl tintColor='red' onRefreshstart='doRefresh' /> <Label>Hello</Label> </ScrollView> </Window> </Alloy>
- Feon Sua Xin Miao 2016-10-03 Changes are in alloy@1.9.3. Please test with appc@6.0.0-56.
- Hans Knöchel 2016-10-03 So the problem was that it was not bumped? :-)
- Feon Sua Xin Miao 2016-10-03 Ja, das stimmt. :)
- Harry Bryant 2016-10-05 Verified as fixed, with 6.0.0-56 RefreshControl is now supported for alloy on iOS10. Tested On: iPhone 6 Plus 10.0.2 Device & Simulator Mac OSX El Capitan 10.11.6 Ti SDK: 6.0.0.v20161004202820 Appc Studio: 4.8.0.201609292239 Appc NPM: 4.2.8-7 App CLI: 6.0.0-56 Xcode 8.0 Node v4.4.7 *Closing ticket.*