1
我正在學習鈦iOS模塊開發這些天。我在View Proxy中創建公共方法並從鈦模塊訪問它有問題。如何創建Titanium View Proxy Method並從鈦項目訪問它?
我在View類中有一個方法。我需要訪問的方法,同時用戶用它
相互作用。例如:
gaugeview.addEventListener('touchmove', function (e) {
var thetaValue = gauge.Theta; // Theta is method
Ti.API.info('theta value touchmove'+thetaValue);
});
我應該在這裏使用視圖代理方法,但我不如何實現它。請幫助我學習這些東西。
謝謝。