【发布时间】:2011-03-14 19:00:10
【问题描述】:
我在 'touchend' 事件中找到当前 X 和 Y 位置。现在说 ImageView 的原始位置是 ; left=100 和 top=100。在 touchend 上,它只给出 2 位数字的值,即 8,10 或 9,11 等。现在我不确定图像视图的偏移量是多少。如果它是 lastLeft+x 和 lastTop+y 那么它根本不起作用。我想在 Db 中的 TouchEnd 保存 Image 的当前位置,以便以后恢复它。
请帮帮我
【问题讨论】:
标签: iphone imageview appcelerator appcelerator-mobile