cancel
Showing results for 
Search instead for 
Did you mean: 

sap.m.pdfViewer not working properly in iPhone.

former_member200679
Participant
0 Kudos

Hi All,

sap.m.pdfViewer is working fine for displaying local pdf file in Android device. In iPhone it opens up pdf file and when the user taps on "Done" , the app freezes.

Below image is taken from xcode simulator on Safari browser.

The PDF file is stored in webapp folder of application.

//defined below code in "onInit"

this._pdfViewer = new PDFViewer();
this.getView().addDependent(this._pdfViewer);

//code onbutton press event
var fileSrc = "";
fileSrc = jQuery.sap.getModulePath("app", "/docs/PrivacyStmt_de.pdf");
this._pdfViewer.setSource(fileSrc);
this._pdfViewer.open();


Please suggest ways to handle this issue. This is only happening for iOS device. 

Thank you.

Regards,
Saurabh.
former_member191562
Participant
0 Kudos

Hi saurabh.singh16,

Did you resolve this issue ? I'm facing the same problem.

Accepted Solutions (0)

Answers (0)