{ "id": "172990", "key": "TIMOB-26819", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2019-11-11T18:57:24.000+0000", "created": "2019-02-12T00:17:04.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-11-11T18:57:24.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "For App UI View, customers are having Window as child of NavigationWindow Alloy Tag , They were trying to add Header Image as title inside Navigation bar, but it got like this (Navbar_title_image.png). \r\nTo achieve this, they want to use Splitwindow by placing the logo in titleImage property. But using property titleImage, the logo doesn't show up. The below attachment is the expected behavior(expected_result.png). \r\n\r\nSame result popped up after several checks with splitview, documentation link:- https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.SplitWindow-property-titleImage.\r\nApp.js is the below test code for this: \r\n\r\n*App.js*\r\n{code}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor : 'red',\r\n barColor : 'yellow',\r\n titleImage : 'logo.png'\r\n\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n\r\n\twindow : win2\r\n\r\n});\r\n\r\n//SplitWidnow\r\n\r\nvar detail = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n});\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n\ttext : 'Detail View'\r\n});\r\n\r\ndetail.add(label1);\r\n\r\nvar master = Ti.UI.createWindow({\r\n\tbackgroundColor : 'gray',\r\n});\r\n\r\nvar label2 = Ti.UI.createLabel({\r\n\ttext : 'Master View'\r\n});\r\n\r\nmaster.add(label2);\r\n\r\nvar win3 = Ti.UI.iOS.createSplitWindow({\r\n\r\n\tdetailView : detail,\r\n\r\n\tmasterView : master,\r\n\r\n\tbackgroundColor : 'blue',\r\n\r\n\tbarColor : 'orange',\r\n\r\n\ttitleImage : 'logo.png', // This Property is not setting the Title Image in Split Window?? Please suggest how to Set the title of SplitWidnow?\r\n\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n\r\n\ttitle : 'Open Blue Window'\r\n\r\n});\r\n\r\nbutton.addEventListener('click', function() {\r\n\r\n\twin1.openWindow(win3, {\r\n\r\n\t\tanimated : true\r\n\r\n\t});\r\n\r\n});\r\n\r\nwin2.add(button);\r\n\r\nvar button2 = Titanium.UI.createButton({\r\n top: 300,\r\n\ttitle : 'Close Blue Window'\r\n\r\n});\r\n\r\nbutton2.addEventListener('click', function() {\r\n\r\n\twin1.closeWindow(win3, {\r\n\r\n\t\tanimated : true\r\n\t});\r\n\r\n\t//win3.close() will also work!!\r\n\r\n});\r\n\r\nwin3.add(button2);\r\n\r\nwin1.open(); \r\n{code}\r\n\r\n{code}\r\nvar detail = Ti.UI.createWindow({\r\nbackgroundColor : 'white',\r\ntitleImage : 'logo.png'\r\n});\r\n{code}\r\n", "attachment": [ { "id": "66154", "filename": "expected_result.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-12T00:08:56.000+0000", "size": 23819, "mimeType": "image/png" }, { "id": "66155", "filename": "Navbar_title_image.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-12T00:08:56.000+0000", "size": 54414, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS : UI Navigation Bar doesn't show titleImage with SplitWindow.", "creator": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appce SDK - 7.4.1.GA, 7.5.0.GA \r\nXcode 10.0\r\nAppc CLI : version 7.0.9 ", "comment": { "comments": [ { "id": "446666", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Do we have any progress regarding this issue? Let us know if you need any information from us. \r\n\r\nThank you. ", "updateAuthor": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-10T19:15:33.000+0000", "updated": "2019-03-10T19:15:33.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }