{ "id": "82116", "key": "TIMOB-5907", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2020-02-14T09:28:45.000+0000", "created": "2011-10-29T15:40:38.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2020-02-14T09:28:45.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": "Let say you need some advanced styling for your content, so you decide to use a webView. The downside with this besides the high memory use, is that the webView has shadows on the top when you drag your content down, so it's obvious that it's an webView.\r\n\r\n!skitched-20111030-013938.png!\r\n\r\nThere should be a way to disable this shadow. Like an property on webView called `webView.shadow = false`.\r\n\r\nYou can just follow [this answer|http://stackoverflow.com/questions/1074320/remove-uiwebview-shadow/3521263#3521263] on StackOverflow.", "attachment": [ { "id": "23943", "filename": "skitched-20111030-013938.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-10-29T15:40:38.000+0000", "size": 71152, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS - Disable shadow on webView", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": "Titanium Mobile 1.7.3", "comment": { "comments": [ { "id": "195371", "author": { "name": "arood", "key": "arood", "displayName": "Marcus Olovsson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I found this in Q&A and it seems to work: http://developer.appcelerator.com/question/118810/how-to-disable-scrolling-and-shadows-in-a-webview#answer-233259\r\n\r\nIt would be nice if it was included in the SDK though.", "updateAuthor": { "name": "arood", "key": "arood", "displayName": "Marcus Olovsson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-19T05:31:06.000+0000", "updated": "2012-05-19T05:31:06.000+0000" }, { "id": "202029", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "This is an important feature to help people to create native looking web apps. Without this you can't really use the webView without it being obvious that it's a webView...\r\n\r\nThere's an easy 3-liner fix linked to from the issue.\r\n\r\nI've been waiting for this one for a long time.\r\n\r\nHopefully someone can take a look at this.\r\n\r\n", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2012-07-08T07:27:21.000+0000", "updated": "2012-07-08T07:27:21.000+0000" }, { "id": "240336", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "bump", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2013-03-01T09:40:26.000+0000", "updated": "2013-03-01T09:40:26.000+0000" }, { "id": "248641", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Still present...Please just add the following code to the core (TiUIWebView.m):\r\n\r\n-(void)setHideShadow_:(id)arg\r\n{\r\n for(UIView *wview in [[[webview subviews] objectAtIndex:0] subviews])\r\n {\r\n if([wview isKindOfClass:[UIImageView class]])\r\n {\r\n wview.hidden = [TiUtils boolValue:arg];\r\n }\r\n }\r\n}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-22T18:14:00.000+0000", "updated": "2013-04-22T18:14:00.000+0000" }, { "id": "402285", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "can we just make this a PR already? Hans already pasted the code to do this.", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-30T22:04:15.000+0000", "updated": "2016-11-30T22:04:15.000+0000" }, { "id": "454280", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is not an issue anymore. Probably since iOS 7 or otherwise a PR fixed it in the meantime.", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-02-14T09:28:45.000+0000", "updated": "2020-02-14T09:28:45.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }