scale down pdf to fit in iframe in uiwebview

Posted by Claes Gustavsson on Stack Overflow See other posts from Stack Overflow or by Claes Gustavsson
Published on 2010-05-29T14:31:04Z Indexed on 2010/05/29 14:32 UTC
Read the original article Hit count: 333

Filed under:
|
|

I have a uiwebview that loads a iframe to display a pdf file. But only the top left corner of the pdf file i visible, I need to fit the pdf file inside then iframe, that is, I need to scale down the pdf file so that all of it is visible. I know that with webpages you can open a pdf and set the starting scale on it like this page1.pdf#zoom=25 but that doesnt work in the webview. Does anybody know what to do?

© Stack Overflow or respective owner

Related posts about pdf

Related posts about iframe