{ "id": "168453", "key": "AC-5033", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2017-06-23T18:26:20.000+0000", "created": "2017-06-16T14:02:20.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-23T18:26:20.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": [], "description": "In the documentation it says that \r\n\r\n$.index.addEventListener('visible',function(e){\r\n if (e.view == 'detail'){\r\n e.button.title = \"Master\";\r\n $.index.detailView.getWindow().leftNavButton = e.button;\r\n } else if (e.view == 'master'){\r\n $.index.detailView.getWindow().leftNavButton = null;\r\n }\r\n});\r\n\r\nI tried doing this:\r\n\r\nsplitWin.addEventListener('visible', function(e) { }); \r\n\r\nbut the event is not triggered.\r\n\r\nThe main reason to catch this event is that right now I can't handle the splitwindow on an iphone, without showing both the master and the detail window.", "attachment": [], "flagged": false, "summary": "Titanium.UI.iOS.SplitWindow doesn't handle the \"visible\" event", "creator": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 6.1.0, Xcode 8.3.2", "comment": { "comments": [ { "id": "422253", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a full reproducible code or us to test. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-06-19T17:32:46.000+0000", "updated": "2017-06-19T17:32:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }