{ "id": "61866", "key": "TIMOB-1234", "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": "2017-05-02T22:33:14.000+0000", "created": "2011-04-15T02:47:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T22:33:14.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "{html}
Problem:
\r\nI want to be able to deeply integrate a WebView into my app.
\r\nI need my WebView code to communicate with my Ti code even if it's\r\ngenerated source, an external url or whatever.
Solution:
\r\nUse the common solution from normal Objective-C\r\nUIKit/Cocoa apps.
\r\nCreate a custom url scheme and then override\r\nwebView:shouldStartLoadWithRequest:navigationType:
.
\r\nhttp://github.com/subtleGradient/titanium_mobile/tree/develop-webvi...
\r\n\r\nhttp://github.com/subtleGradient/titanium_mobile/blob/30fbb3fb00254...
\r\n\r\nhttp://github.com/subtleGradient/titanium_mobile/blob/30fbb3fb00254...
Signed my CLA!
\nRebased with master
\nSee the latest comparison
\n\nhttp://github.com/subtleGradient/titanium_mobile/compare/master...d...
Is this a pull request? Maybe we can review it if it is.