1
鈦中的動畫不會更改視圖的座標。那麼改變視圖的座標(例如頂部)然後跟蹤其位置的最好方法是什麼?更改鈦上的座標視圖
var t1 = Ti.UI.create2DMatrix();
var a1 = Ti.UI.createAnimation();
t1 = t1.translate(0, 10);//Translate on y coordinate
a1.transform = t1;
a1.duration = 800;
view.animate(a1); // Move the view, but the top property keeps the same
謝謝,如果它是一個愚蠢的問題對不起!