Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は試した
btn.click();
また、エラーメッセージは次のとおりです。'オブジェクトti.modules.titanium.ui.ButtonProxy@44f61のプロパティクリックを呼び出すことはできません。それは関数ではなく、「オブジェクト」です。
btn.fireEvent('click');
これはうまくいくはずです
btn.addEventListener('click',function() { Titanium.API.info('Button Clicked'); });