Singletap in ScrollableView
Added to kitchen sink code for scrollable view
scrollView.addEventListener('singletap', function(e)
{
Titanium.API.info("singletap x" + e.x + ' y ' + e.y);
});
No singletaps detected from iPhone simulator. What's wrong here??
Otherwise scroll works fine
2 Answers
-
Have you tried just using the 'click' event instead of the 'singletap' event?
-
From the scrollableview API click is sent to the page control. I tried adding it to the scrollview anyway but it didn't work
Singletap is specifically listed in the API as being detected in the view.
Fortunately the scroll event does work ;)