var win = Ti.UI.createWindow({
backgroundColor: '#fff',
fullscreen: false,
exitOnClose: true
});
var events = [
'click',
'swipe'
];
var addListener = function(eventName) {
win.addEventListener (eventName, function(e) {
Ti.API.info(eventName);
});
}
for (var i = 0; i < events.length; i++) {
addListener(events[i]);
}
win.open();
In this code, Android will only fire the swipe event whenever we swipe. In iOS, we fire a click event first, then a swipe event.
We need to determine which is the correct behavior and change the other accordingly.
Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
Closing ticket as the issue cannot be reproduced.