在PDF阅读器应用程序中显示页面卷曲效果时缩放支持 [英] Zoom support while page curling effect present in pdf reader app

查看:203
本文介绍了在PDF阅读器应用程序中显示页面卷曲效果时缩放支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发一个ipad Magazine应用程序,我需要显示pdf文件。我正在使用离开页面卷曲效果的项目。这很好用。
但是在横向页面适合高度(768px)并且变得难以阅读字体。
这就是我想支持放大/缩小这个视图的原因。
我是Core Graphics的新手。我想在叶子项目中他们解析pdf来显示每个页面的图像。但是我不知道为什么如果它是一个图像不支持缩放。
还有一些用于实现此功能的叶子项目分支,但它们都不完美。

我会继续使用离开或UIViewAnimationTransitionCurlUp / Down会帮助我解决这两个问题吗? >
谢谢

Hi I am developing an ipad Magazine app where I need to display pdf files.I am using leaves project for page curl effect.This works great. But in landscape page fits to height(768px) and it becomes difficult to read the font. Thats why I want to support zoom in/out on this view.
I am a newbie to Core Graphics.I think in leaves project they parse pdf to show image of each page.But I dont know why zoom is not supported if it is an image. There are some more branches of leaves project for implementing this feature but all of them are not perfect.
Shall I continue using leaves or UIViewAnimationTransitionCurlUp/Down will help me for both the problems?
Thanks

推荐答案

您可以参考本教程。由APPLE提供

You can refer this tutorial. Provided by APPLE

希望它有所帮助。

这篇关于在PDF阅读器应用程序中显示页面卷曲效果时缩放支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆