Touchmove on device not working correctly
First of all I would like to express my disappointment in the way the Appcelerator team releases the updates of Titanium Mobile. Ever since working with 0.8 I have been rewriting my code with every update, often with many workarounds. Finally at 1.0 I had my app working correctly and was ready to submit it to the appstore when I had the (crazy) idea to wait for IOS 4.0 and Titanium mobile SDK 1.4 to be able to test and launch my app for the iphone4 as well. Huge mistake!!!
Now, simple things like dragging stuff on the screen don't work anymore. And the new code (from Kitchen sink 1.4) provides a working solution only on the SIMULATOR!! They probably 'forgot' to test it on an actual device where dragging results in a horrendous animation eventually throwing your imageview or label out of the screen. WHY do these WORK in previous versions but not in the newer ones?
Also opening the photogallery seems to work fine when using the code provided by Kitchen Sink 1.0 to 1.4. UNLESS you need to focus back on the main window after the Modal window for the gallery closes (which should be a normal procedure and worked in 1.0!).
I could give youguys a code snippet as an example but you can use the code from Kitchen Sink 1.4 to test it! It is really frustrating that example code is not properly tested and previous working code is not working anymore in newer versions.
Being able to create mobile applications using javascript and so many APIs make appcelerator a fantastic platform, but please FIX current problems and KEEP them fixed!
1 Answer
-
I have solved this issue by not using the Kitchen Sink drag and drop technique. It's madness that they have not provided a working solution.
I've posted my solution in another question on this site at http://developer.appcelerator.com/question/45081/can-anyone-provide-a-good-way-to-drag-in-14#212646.
You can also look at the code on my Gist which you can fork at https://gist.github.com/1073811