{ "id": "154045", "key": "TIMOB-20178", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-12T07:12:25.000+0000", "created": "2015-12-27T17:44:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "3dtouch", "ios", "ios9", "peekandpop", "qe-5.4.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-10T17:41:18.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": "iOS 9 introduced an API to support Peek and Pop (3D-Touch) in WebViews like Safari does. It is disabled by default, but users should have the ability to enable it.", "attachment": [], "flagged": false, "summary": "iOS: Support Peek and Pop in Ti.UI.WebView", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 555, "state": "closed", "name": "2016 Sprint 1 SDK", "startDate": "2016-01-02T01:31:50.127Z", "endDate": "2016-01-16T01:31:00.000Z", "completeDate": "2016-01-18T00:52:43.848Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "373542", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7600\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle: \"TTIMOB-19806\"\r\n});\r\n\r\nvar allowsLinkPreview = false;\r\n\r\nvar web = Ti.UI.createWebView({\r\n\turl: \"http://google.de\",\r\n\tallowsLinkPreview: allowsLinkPreview\r\n});\r\nwin.add(web);\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: \"allowsLinkPreview = \" + allowsLinkPreview,\r\n\tbottom: 0,\r\n\tbackgroundColor: \"#000\",\r\n\tcolor: \"#fff\",\r\n\twidth: Ti.UI.FILL,\r\n\theight: 40\r\n});\r\n\r\nbtn.addEventListener(\"click\", function() {\r\n\tallowsLinkPreview = !allowsLinkPreview;\r\n\tthis.setTitle(\"allowsLinkPreview = \" + allowsLinkPreview);\r\n\tweb.setAllowsLinkPreview(allowsLinkPreview);\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-12-27T17:47:09.000+0000", "updated": "2015-12-27T17:47:09.000+0000" }, { "id": "388067", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, {{web.setAllowsLinkPreview}} now allows Peek and Pop features to be enabled / disabled for Ti.UI.WebView.\r\n\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160608165242\r\nAppc Studio: 4.6.0.201605201934\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-15\r\nXcode 7.3\r\nNode v4.2.6\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-10T17:41:07.000+0000", "updated": "2016-06-10T17:41:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }