Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14653] iOS: PDF in a webview does not show form fields value

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionHold
Resolution Date2013-07-29T20:48:07.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 17, 2013 Sprint 17 API
ComponentsiOS
Labelsios, pdf, webview
ReporterMeenakshi Pathak
AssigneeIngo Muschenetz
Created2013-07-25T09:36:38.000+0000
Updated2017-03-21T21:16:18.000+0000

Description

The PDF loads fine in a webView but the form field's values present in the PDF are not seen. Here is the test case:
var win = Titanium.UI.createWindow({
    backgroundColor:"#fff"
});

var pdfViewer = Ti.UI.createWebView({
   
});
var pdf = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'document.pdf');

pdfViewer.setData(pdf);

win.add(pdfViewer);

win.open();
Please find the attached document.pdf for testing.

Attachments

FileDateSize
document.pdf2013-07-25T09:37:37.000+00001262833

Comments

  1. Blain Hamon 2013-07-29

    Given that we see the exact same behavior natively, and that all I can find about PDFs and forms in iOS is that, 'you don't' (see http://stackoverflow.com/questions/8370048/in-ios-how-can-you-programmatically-fill-out-a-pdf-form-field ) Moving we mark this one as hold for when/if Apple supports forms in a PDF in iOS.
  2. Blain Hamon 2013-07-29

    Apple's code, and not something we can route around.
  3. Lee Morris 2017-03-21

    Closing ticket due to the time that has passed since it was filed.

JSON Source