[AC-1563] iOS: Window titleImage is not animated well
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2014-06-16T21:28:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Ivan Skugor |
Assignee | Shuo Liang |
Created | 2014-06-06T11:11:25.000+0000 |
Updated | 2016-03-08T07:38:01.000+0000 |
Description
To see this issue, run this code:
var win2 = Ti.UI.createWindow({
// titleControl: Ti.UI.createImageView({ image: 'appcelerator.png' }),
titleImage: 'appcelerator.png',
backgroundColor: '#fff'
});
var win3 = Ti.UI.createWindow({
titleImage: 'appcelerator.png',
backgroundColor: '#fff'
});
var win1 = Titanium.UI.iOS.createNavigationWindow({
window: win2
});
var button = Titanium.UI.createButton({
title: 'Open Window',
color: "#000"
});
button.addEventListener('click', function(){
win1.openWindow(win3);
});
win2.add(button);
var button2 = Titanium.UI.createButton({
title: 'Close Window',
color: "#000"
});
button2.addEventListener('click', function(){
win1.closeWindow(win3);
});
win3.add(button2);
win1.open();
Press "Open Window" button and then "Back" button in navigation bar. Check on the left side how logo doesn't animate.
Attachments
File | Date | Size |
---|---|---|
appcelerator.png | 2014-06-06T11:32:35.000+0000 | 3862 |
Hi, Just Tested your code. When I click "back" button, logo will not be animated well for 1 second. but after 1 second, the logo will display well. That is because the first win page will reload and the title logo will reload as well, after click "back" button. So would you please try your code again and wait for a while after click "back" button, then see what happen. Also would you please try to use SDK 3.2.3 in order to make sure the SDK beta version will not effect your problem. Regards, Shuo
I don't think you understand the issue. Logo is not positioned well and is not animated well. Replace logo with text and see how it should look. No, it doesn't work with 3.2.3.GA
I know what you mean, like I said. In my test, After click the back button, the logo will be displayed in top-left not center at first, but it is only for 1 or 2 seconds. then it will be back to center and animated. Does this situation like yours, or your logo is just not animated and never go back to normal, no matter how long you wait for.
Oh I see. seems they fixed the barImage properly but titleImage, I will a ticket to engineer team to get this fixed. Thank you for your report.