PDF reader with page curling effect and zoom function - iphone

I want to make a PDF reader with page curling effect AND zooming.
I searched a lot and found this Zoom support while page curling effect present in pdf reader app solution for an pdf reader with a page curling effect and zoom function.
But how do I combine "Leaves Source Code" and "Zooming PDF Viewer Source Code"?
Do you have a solution or a Source Code for this? 

Related

I want add pdf page to UIPageViewController view

I am new in iPhone application development, I am developing one iPad application development. In this application i am using UIPageViewController. Now i want pdf file page to display UIPageViewControlller view. how to read pdf page and how to add UIPageViewController please give some me example.
Thanks in advance
You can draw a PDF page to a CALayer or to a UIImage. Apple even have sample code to show how draw a large PDF in a , Zoomable UIScrollview and for page view controller i havent try out this but may be this link will help you out
Apple has a sample code project called ZoomingPDFReader. It's a simple app that displays a page of a PDF. Put this into your app. Keep track of the page number, and then display the corresponding PDF page.
You can download the source code Here

How to capture entire webpage in iPhone safari?

Like in Firefox (Desktop version) I can take using Fireshot
and in Android mobile I can take using Dolphin Screen Cut
I already know that we take screendump using wake+home it doesn't take screencapture of whole webpage including the area under the scroll and it would be difficult to take multiple screenshots by pressing wake+home and scrolling in between but with this there will be small overlap between shots and thee combine screenshot will not be precise
Barry — Webpage screenshot does the trick. You can capture full length webpage screenshots and save them to Camera Roll or Copy to clipboard for pasting into any app that supports pasting in images.
After-all I found the solution
This app worked for me perfectly
Website Screenshot (iPhone app)
You wouldn't be able to do this in Mobile Safari.
If you're developing an application (and since this is stackoverflow I'll assume that's what you're talking about) and using a UIWebView you could do this - you would need to:
Calculate the total height of the webpage you want to capture
Use a UIWebView with the height obtained above to display your webpage at actual size
Render that UIWebView as an image in an off-screen buffer.
Webpage Capture for iPhone | iPad : https://itunes.apple.com/us/app/webpage-capture/id348797820?mt=8

Parsing pdf for image with iOS sdk for iPhone

I am developing an app which contains pdf book reading. I found how to display pdf file page by page through CGPDF API. What I need to know is, can we somehow parse the pdf and find if a page contains certain image and if we can enable tap/ touch action on that image or on the page? What exactly I want to do is, if a page contains an image saying "Note", tapping on it opens another view with associated note. Any idea how it can be accomplished? Or any alternative solution? Sorry if the question is quite naive. Thanks

Webpage that lets user draw a picture - on iPhone

I am making a webpage for iDevices and need to allow the user to draw pictures. There would be a box and they would scribble in whatever they need. Don't need color or fancy brushes. When they are done, I would need some way of collecting that input and getting it back to the server, vector or bitmap format would be fine.
Is this possible?
There is a premium Tutorial on Net TutsPlus. It covers CSS3, HTML5 and the canvas element. The Canvas element is supported by Mobile Safari.
http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-a-web-based-drawing-application-using-canvas-new-premium-tutorial/

IPhone phonegap pdf issue

I have a strange issue in phonegap framework. I want to display PDF file in my application, when I am trying to add PDF file with iFrame tag it doesn't show a PDF with horizontal scroll and with a big zoom size. so getting out of screen.
I tried by another way using embed tag, its also having same problem with addition to that its showing PDF for only first time in the application.
If anybody know how to display a PDF in phonegap with specified zoom level or with scroll bar. Above code is working fine in iPhone mobile safari, but not in phonegap. Any Idea?
Thanks.
To display pdf in phonegap,
have lots of trouble,
but best solution so far,is to used ChildBrowser Plugin for phonegap here is the link-
https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser
this will help you to call child native uiwebview in your application(only for iphone),
so you can easily enjoy pinch zoom feature
Using Phonegap you'll have only one UIWebView so probably the best idea is to open the pdf as a new object link using rel=external
Other suggestion is look at the view-port size, maybe you'll have to increase it's size to allow the pinch and zoom.