[英]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. 我正在使用QLPreviewerController在iPad和iPhone上打开不同格式的文件供用户查看,但我突然在iPad air&mini设备(只有两个而不是其他iPad或空中设备)中得到一个奇怪的行为,一个特定的文件带有扩展名docx没有开放。
But same file is getting opened in simulator for iPad and iPhone (All devices of simulator including air and mini). 但是同样的文件正在iPad和iPhone的模拟器中打开(包括空气和迷你的模拟器的所有设备)。
I did cross check that docx with other iPad air and mini device ,and was working smooth. 我确实与其他iPad air和mini设备交叉检查docx,并且工作顺利。
So now stuck with why it is not opening in that particular iPad air and mini device? 所以现在坚持为什么它没有在那个特定的iPad空气和迷你设备中打开?
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. 我找到了上述查询的原因,并且文档(.docx文件)本身存在缺陷,即删除其中存在的一个特定图像然后它被打开。
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. 我仍然没有找到它在模拟器和iPhone设备上如何运行的确切原因,但在iPad Air设备上却没有。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.