开发者

Pdf file displayed in ipad simulator not in Ipad device

I have a pdf file in resources folder of my Universal app. with my coding It is displayed on Ipad Simulaor, Iphone simulator and on iphone device but that file is not displa开发者_如何学Goyed on Ipad device, can anyone suggest me how to resolve it?

Thanks in advance.


The first thing to check is whether you are accessing the PDF using the exact name as it is stored in the filesystem. The normal OS X filesystem is case-insensitive, while the filesystem on the device is case-sensitive; this means that e.g. "foo.pdf" and "foo.PDF" are the same in the simulator, but are different on the device.

If that doesn't fix it, check the console for error messages and edit your question to include any that are output.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜