[TIMOB-9183] iOS: Swipe event does not work for up and down
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-24T11:11:47.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | Release 2.1.0, Sprint 2012-11 API |
Components | iOS |
Labels | api, module_view, parity, qe-testadded |
Reporter | Pedro Enrique |
Assignee | Pedro Enrique |
Created | 2012-05-21T00:07:31.000+0000 |
Updated | 2014-04-01T01:41:08.000+0000 |
Description
The "swipe" event on the Ti.UI.View only works for left and right, up and down are missing.
var win = Ti.UI.createWindow({
backgroundColor: 'white';
});
var view = Ti.UI.createView({
width: Ti.UI.FILL,
heigh: Ti.UI.FILL
});
win.add(view);
view.addEventListener('swipe', function(e){
alert(e);
});
win.open();
Pull request: https://github.com/appcelerator/titanium_mobile/pull/2236
Pull merged.
Swipe event successfully works for up and down also. Verified on: SDK: 2.1.0.v20120604151821 Studio: 2.1.0.201206010843 Devices: iPad2(v 5.1), iPhone 3GS (v 5.0.1)