[TIMOB-1563] PDF in webview causes error, iOS 4, sdk 1.4
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2011-04-15T02:56:10.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Backlog |
| Components | iOS |
| Labels | defect, ios, iphone, pdf, webview |
| Reporter | ctredway |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:56:09.000+0000 |
| Updated | 2017-03-09T23:54:20.000+0000 |
Description
A customer reported the following issue, when a PDF is viewed in a web view, a UTF8 error occurs.
CODE:::
var infoView = Titanium.UI.createScrollView({
top : 10,
left: 15,
right: 15,
bottom: -8,
borderRadius: appConfig.infoView.borderRadius,
borderColor: appConfig.infoView.borderColor,
borderWidth: appConfig.infoView.borderWidth,
backgroundGradient: appConfig.infoView.backgroundGradient,
backgroundColor: '#FFF',
contentWidth:'auto',
contentHeight:'auto',
showVerticalScrollIndicator:true,
showHorizontalScrollIndicator:true
});
var webView = Titanium.UI.createWebView({
top : 5,
left: 5,
right: 5,
bottom: 10,
height:'auto',
url: "../html/2009_pll_14_akutes_koronarsyndrom.pdf",
backgroundColor: 'transparent',
loading: true
});
infoView.add(webView);
winInfo.add(infoView);
Without the pdf, we're unable to recreate. Need a helpdesk ticket or files in order to test.
Closing this ticket as the request for more information has not been provided.