Open PDF file from an iOS Application [duplicate] - ios

This question already has answers here:
How to display a PDF in Objective-C? [closed]
(3 answers)
Closed 9 years ago.
I need to open some PDF files from my App and need some advices.
These files will be on my server and I would open them using a UIWebView.
Do you think it is a good idea or should I do somehow different?
Googling I found something about PDF Kit! Is it better or worst? And why?

In my experience UIWebView is fine for small files without many images.
If a PDF contains many pages or large colorful images then UIWebView may be not very fast to open it. And memory consumption might be high.
In the latter case you might want to use some third-party component or implement your own class. See Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints? for some useful tips.

Related

Display PDF on iOS in Swift [duplicate]

This question already has answers here:
Fast and Lean PDF Viewer for iPhone / iPad / iOS - tips and hints?
(3 answers)
Closed 7 years ago.
i m looking for a way to display PDFs on iOS - for sure i could use a webView but are there some other ways?
Maybe some frameworks (i did not find any), that offer some more features like "draw on pdf etc"
It depend on what you want free or fee. I see a lot framework. Also It write with Objective-C. But it's not problem because you can use it with Bridging-Header.
I have used to PDKFkit but it have fee.
I see this compare, I think you can reference it Compare framework pdf iOS
Maybe It library can be fit what you want: vfr/Reader

Roll overs in interactive pdfs for iPad—nothing is working

I'm having a problem with making roll overs work in an interactive pdf for iPad and mobile devices. I've spent hours looking for a resolution, but have found nothing for this specific issue...
What I have is sections in the document where the viewer can answer questions via check boxes. The check boxes work fine. However the check boxes for the incorrect answers trigger, on roll over, a 'pop-up' window that will nudge them to the correct answer. I have tried doing this through InDesign at the design stage and through Acrobat. Right now the functionality is primarily through Acrobat (seems to be closer to the end goal).
I'm not sure if it's as simple as a setting or what? Any assistance would be greatly appreciated. More specific information can be given if needed. Thanks!
You have to look at the "documentation" for the various PDF viewers for iOS, and see what they support.
Opposed to the Windows and OSX platforms, Adobe Reader for iOS (and Android) is mediocre at best, when it comes to JavaScript support (which is most likely the base for the rollovers). For iOS, the leader of the pack is PDFExpert by Readdle. With some luck, this PDF viewer may support what you want to accomplish.

How to use stageVideo for Air iOS (Flash Professional CS5.5)?

I am creating a very basic App for the iPhone & iPad and it's being built in Flash Professional CS5.5. All the actionscript is done on the frames (inline?) as I'm not familiar with using classes and external .as files etc. I've been meaning to learn that method but just haven't gotten around to it.
So my question is, what is the simplest way to use stageVideo to play a video attached to the IPA? I have looked at various sites such as http://www.adobe.com/devnet/flashplayer/articles/stage_video.html and spent hours on Google looking for examples, but all the examples and source files are either: external classes, flex, or flash builder. I can't find a simple .fla example where all the code is internally placed.
You need to change the wmode=direct in the Name-app.xml. If you find a way to edit it, tell me please, cause I don't know how to do it on Flash Professional =/

How to combine pdfs for iOS app

Can anyone help with combining two pdf's together on an iPad? I dont know where to start.
I have an app that contains a lot of single page pdf's and I want to be able to allow the user to merge them together for printing and emailing if they wish.
I have looked at the various CGPDF classes but dont know where to begin.
I am sorry that I don't have an answer for your exact question, but Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints? is an excellent place to start. When I first started with all of this I used the iText library from Java to see what was actually going on behind the scenes with properties etc (since all the iOS CGPDF classes are Opaque).

Ipad development architecture

I have a IPad noob question.
Here is the task I am trying to achieve:
I need to build an IPad/IPhone app that will display a lot of images and data. The problem is that this app needs to work offline as well as online. So, the data needs to stored in some way on the IPad.
I am looking for some opinions on techniques/architecture/development.
To provide a bit of background I work mainly in C#.NET and this is my first IPad app. So far I know that I can either create a native app using objective C, or go for an HTML app which later may or may not be converted to a native app.
Furthermore, I am currently testing by creating a simple html page with an image, and trying to cache the image and page so it will work offline. This so far, however is not working as the image or page do not seem to be cached.
EDIT: Does anyone know how much is the caching limit. I believe I have somewhere around 10-15 mbs of images.
I will appreciate any ideas/opinions/resources on this task.
use CoreData to store your images offline Apple CoreData Docs
I am unsure wot you need the online bit for, are you retrieving images off the net or uploading them?

Resources