[TIMOB-491] xhr -> write html file -> render web view = !work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 0.9.3 |
Components | iOS |
Labels | ios, iphone |
Reporter | Nolan Wright |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:30:10.000+0000 |
Updated | 2011-04-17T01:53:16.000+0000 |
Description
Base UI => Views => Web Views => XHR to Filesystem
test opens google.com, writes it to a file in applicationDataDirectory, then uses native path to create web view
Comments
- Jeff Haynie 2011-04-15
this was an awesome issue.
when you fetch google via XHR he'll return WAP instead of HTML content. WebView can't render WAP. i just fake the User-Agent in XHR request (which is a good test too) and get him to give me back HTML and it works.