最初のアプリを開発するために、チュートリアルに従っています。マルチプラットフォーム ソフトウェアを使用しています。現在、以下のコードは初回のみ機能し、その後、完了ボタンが消えます。なにか提案を。もちろん、これはiPhoneエミュレーターで発生します。
//flexible space for button bars
var flexSpace = Titanium.UI.createButton({
systemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE
});
//done system button
var buttonDone = Titanium.UI.createButton({
systemButton:Titanium.UI.iPhone.SystemButton.DONE,
bottom: 0
});
//add the event listener 'click' event to our done button
buttonDone.addEventListener('click', function(e){
tfAmount.blur();
tfInterestRate.blur();
interestRate = tfInterestRate.value;
tfAmount.visible = true;
labelAmount.visible = true;
});