[TIMOB-25702] iOS: Remove iOS 11.2 DocumentViewer workaround
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 7.0.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-7.0.2 |
Reporter | Eric Wieber |
Assignee | Unknown |
Created | 2018-01-24T16:19:29.000+0000 |
Updated | 2018-02-28T19:55:42.000+0000 |
Description
In TIMOB-25680 we implemented a workaround for an Apple bug with the DocumentViewer. Once that bug is fixed by Apple, we should remove our workaround.
Workaround was implemented in these PRs:
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9741
PR (7_0_X): https://github.com/appcelerator/titanium_mobile/pull/9742
Possible test case for the improvement (Example PDF attached):
var win = Ti.UI.createWindow({
backgroundColor: '#fff'
});
var btn = Ti.UI.createButton({
title: 'Open PDF'
});
btn.addEventListener('click', function(e) {
var docViewer = Ti.UI.iOS.createDocumentViewer({
url : 'example.pdf'
});
docViewer.show();
});
win.add(btn);
win.open();
Attachments
File | Date | Size |
---|---|---|
example.pdf | 2018-01-24T16:18:17.000+0000 | 433994 |
No comments