Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17631] iOS8: Setting document in a WebView by URL does not work

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionHold
Resolution Date2014-09-08T21:34:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.0
ComponentsiOS
Labelsios8, qe-3.4.0
ReporterEwan Harris
AssigneePedro Enrique
Created2014-09-05T18:41:19.000+0000
Updated2017-03-17T18:17:44.000+0000

Description

Description

In KitchenSink->XHR->File Download the Set Web View(url) option does not display the file after it has been downloaded. If you use Set Web View (data) then the file will display fine. *Notes* This works in iOS7.

Steps To Reproduce

1. Add the attached app.js to an existing project 2. Tap Set Web View (url)

Actual Result

The file will not show but the web view will be present as shown by the label 'The webview will hide me!' being hidden

Expected Result

The file should show

Attachments

FileDateSize
app.js2014-09-05T18:44:04.000+00002526

Comments

  1. Ingo Muschenetz 2014-09-05

    FYI
  2. Pedro Enrique 2014-09-08

    There is a discussion going on in Stack Overflow, http://stackoverflow.com/questions/25158552/failed-to-find-pdf-header-pdf-not-found Putting this on hold and it appears to be an Apple bug webView.setData ( ... ) still works
  3. Ingo Muschenetz 2014-09-15

    Should retest against GM seed.
  4. Ewan Harris 2014-09-15

    [~ingo], have retested using KitchenSink->Phone->XHR->File Download on iOS8 GM Seed and Xcode6 GM Seed and the issue no longer occurs.
  5. Lee Morris 2017-03-17

    Closing ticket due to time passed.

JSON Source