Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25702] iOS: Remove iOS 11.2 DocumentViewer workaround

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 7.0.2
Fix Version/sn/a
ComponentsiOS
Labelsqe-7.0.2
ReporterEric Wieber
AssigneeUnknown
Created2018-01-24T16:19:29.000+0000
Updated2018-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

FileDateSize
example.pdf2018-01-24T16:18:17.000+0000433994

Comments

No comments

JSON Source