简体   繁体   English

一个奇怪的行为是QLPreviewer或iPad设备,一个docx文件没有在设备中打开但在模拟器(iPad和iPhone)中工作正常

[英]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设备和模拟器的截图。

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.

相关问题 UILabel甚至在iPhone 5c上具有内容压缩所需的优先级时也会截断字符串。 但可以在模拟器和iPad(设备)上正常工作 - UILabel truncating string even with required priority for content compression on iPhone 5c. But works fine in the simulator and iPad(device) JayData / Phonegap可在iPad Simulator中使用,但不适用于iPad设备 - JayData / Phonegap works in iPad Simulator but not iPad device iPad Opengl ES程序可以在模拟器上正常运行,但不能在设备上运行 - iPad Opengl ES program works fine on simulator but not device UIWebView在Simulator中效果很好,但在iPad设备中效果不佳 - UIWebView works well in Simulator but not in iPad device 应用程序可在iphone ipad模拟器上运行,但不能在ipad设备上运行:黑屏,然后熄灭 - App works on iphone ipad simulator but not ipad device: Black screen and then goes out 如果(设备 == iPad),如果(设备 == iPhone) - if (device == iPad), if (device == iPhone) iAd在模拟器上有效,但在设备上崩溃(ipad) - iAd works on simulator but crash on device(ipad) 将文件夹添加到iPad捆绑包适用于模拟器,而不适用于设备 - Adding folder to iPad bundle works on simulator, not on device 在iPhone模拟器中工作正常,但在iPhone设备中锁定 - Works fine in iphone simulator but lockup in an iphone device 该应用程序在iPhone上运行良好; iPad模拟器仅提供黑屏 - app works fine on iPhone; iPad simulator gives only black screen
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM