[TIMOB-602] iOS: Provide more direct access to native view from web view
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2011-11-05T17:06:25.000+0000 |
Affected Version/s | Release 1.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:32:50.000+0000 |
Updated | 2011-11-05T17:06:25.000+0000 |
Description
one possible option is add support for Ti.UI.currentWindow within a web view.
need to discuss...
0.8-style webviews? In MY modern Titanium?!?
Needs R&D.
I'm rather hesitant on this feature because part of why we did the 0.9 rewrite is that this requires injection beforehand. The more features, the more injection. Once we add Ti.UI.currentWindow, we need injections for everything it could support or touch, and it can quickly snowball back to the 70KB injections of 0.8. Having said that, we should look into *why* this is required. Maybe a very limited API, where the end dev understands that the web view is in a very tight sandbox?
Bug Scrub: Valid. No test case exists Tested On: Mac OSX Lion TiMob Version: 1.7.2 TiStud Version: 1.0.2 Devices used: iPhone 4.2.10
Violates separation of webview we converted to in 1.0 architecture.