I am in need of a way of notifying users of new content in a Windows Desktop App. I am looking to flash the taskbar but that does not seem to be an option so was planning on 'flashing' the icon when there is new content. I have come up with:
var i = 1; var flash = setInterval(function(){ i%2 ? Titanium.UI.setIcon('new.png') : Titanium.UI.setIcon(''); i++; },1000);This works great but in testing it, letting it run cause the memory consumption of the app to slowly rise and never appears to be released, even when clearing the interval. Is this a bug or is this not the way I should be doing this.
Your Answer
Think you can help? Login to answer this question!