简体   繁体   中英

A weird behaviour is with QLPreviewer or iPad Device that one docx file is not getting opened in device but works fine in simulator (iPad and iPhone)

I am using QLPreviewerController to open different format of files in iPad and iPhone for user to view but I'm suddenly getting a weird behaviour in iPad air & mini device (only two and not other iPad or air device) that one particular file with extension docx is not opening.

But same file is getting opened in simulator for iPad and iPhone (All devices of simulator including air and mini).

I did cross check that docx with other iPad air and mini device ,and was working smooth.

So now stuck with why it is not opening in that particular iPad air and mini device?

Please find screenshot of iPad air device and simulator one below.

iPad Air设备

在此输入图像描述 Any help will be appreciated and thanks in advance.

I have found the reason for the above query and it is that the document( .docx file) itself is having a defect ,ie, remove one particular image present in it and then it was getting opened.

Still I didn't find the exact reason that how it was running smooth in simulator and iPhone devices but not on iPad Air device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM