Zoom support while page curling effect present in pdf reader app

自闭症网瘾萝莉.ら 提交于 2019-12-10 11:43:43

问题


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


回答1:


You can refer this tutorial. Provided by APPLE

Hope it helps.




回答2:


here is the code for your requirement. check out this



来源:https://stackoverflow.com/questions/6225332/zoom-support-while-page-curling-effect-present-in-pdf-reader-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!