Code to generate pdf from text in iphone - iphone

Can anybody tell me Code to generate pdf from text in iphone. Thanks in advance.

Did you try reading the documentation that outlines this?
http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GeneratingPDF/GeneratingPDF.html#//apple_ref/doc/uid/TP40010156-CH10-SW1

Related

iPhone: A simple PDF Viewer with saving functionality

I would like to find a simple PDF Viewer with downloading functionality.
I have tried a couple of examples but they are not for ios5, so giving me errors.
Would you give me some suggestions which one i could use.
Thanks in advance.
A simple PDF Viewer would be a UIWebView.
First download the PDF using NSURLConnection and it's matching delegates, then after completion show the webview

How to write text on image in objective-c iPhone?

I want to write some text on an image and save it as png with reduced size. is it possible in objective-c iPhone?
Tell me the best possible answer. or any sample code for it.
Thanks in advance
Please Follow this... how to draw on Image and download sample code from there and see how it will works...

Annotation lines for iphone videos

I am working on an iPhone application where i be creating an video where i can annotate the video with lines .
I have gone through the library but could not find anything that could help me till now .
I would really appreciate it if anyone could show some light on this matter at the earliest.
Thanking You,
If you want to add yourown graphics or text or lines to the video have a look at AVFoundation, should be able to do what you wAnt

iphone: scale when using glgif library

I am using glgif to display some gif picture on iphone, the gif is be downloaded from web. I display it on iphone successfully but the picture seems wrong scale. It happened to many pictures. Can anyone suggest me to fix this? I dig in to glgif but can not find a way to fix.
Thank you very much.
Uncomment [self setAspectScale:YES]; inside -(void)startAnimation:(Video*)video;

how to use .gif files in iphone sdk?

I am getting a problem in displaying the .gif file in my view.Actually I am getting the .gif files from the parser and I need to display the into my view.Can anyone suggest how to use the .gif file in our app.I am struggling a lot for this.Can we convert .gif,.tiff and .jpg files into .png with progrmming?
Anyone's help will be much appreciated.
Thank to all who helped me,
Monish.
UIImage already support gif file. So you should be able to show it in UIImageView. What is the problem that you are getting actually? There might be some other problem. Please post some code so that we can further check.
For testing you can use a png and check whether the problem is actually causing by gif or not.
Best way I found is to use this perfect UIImage Category
https://github.com/mayoff/uiimage-from-animated-gif/