Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone ($4.99)

dotnetIQ ($4.99)

Your First iPhone App ($1.99)

iPocket Tools 9 in 1 ($0.99)

Catch-Me (Free)

Alien Strike ($0.99)

Historic Olympic Medal-Table ($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-24-2009, 05:07 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 16
Question Save contents of a UIWebView to a pdf file

Hello,

Is there a way to save the contents of UIWebView to a pdf file?
I've tried searching for solutions in the web and I've only seen tutorials that would load a pdf file to a UIWebView. If loading the contents of a pdf file to a UIWebView could be done, then I believe that there is also a way to save the contents of a UIWebView to a pdf file.

Do anyone here have a solution?

Thanks.
Belkin_MAC is offline   Reply With Quote
Old 06-24-2009, 05:18 AM   #2 (permalink)
Apple Evangelist
 
sukumar_77's Avatar
 
Join Date: Aug 2008
Location: Mumbai
Posts: 191
Default

Quote:
Originally Posted by Belkin_MAC View Post
Hello,

Is there a way to save the contents of UIWebView to a pdf file?
I've tried searching for solutions in the web and I've only seen tutorials that would load a pdf file to a UIWebView. If loading the contents of a pdf file to a UIWebView could be done, then I believe that there is also a way to save the contents of a UIWebView to a pdf file.

Do anyone here have a solution?

Thanks.

If the content of UIWebView can be saved as image file, then we can create a pdf with the help of image. But do not know how to save the content of webview as image file as the content size would be dynamic in nature?
__________________
Thanks & Regards,
SushiL
sukumar_77 is offline   Reply With Quote
Old 06-24-2009, 05:42 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 16
Default

Quote:
Originally Posted by sukumar_77 View Post
If the content of UIWebView can be saved as image file, then we can create a pdf with the help of image. But do not know how to save the content of webview as image file as the content size would be dynamic in nature?
Yes. I'm also looking at that option but I also don't know how to do that.
Belkin_MAC is offline   Reply With Quote
Old 06-24-2009, 07:57 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 16
Default

bump! Just bringing this thread up.
Belkin_MAC is offline   Reply With Quote
Old 06-24-2009, 08:03 AM   #5 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 60
Default

Not sure if this is any help: JC Developer World: [iPhone] Saving an Image to the Library from UIImageView

Its about getting a UIImage out of a UIImageView and saving it in the library of the iPhone.
__________________
JeromeC is offline   Reply With Quote
Old 06-24-2009, 08:47 AM   #6 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 16
Default

Thanks JC. This can help if there is a way that we can save the contents of UIWebview to a UIImage variable.


Quote:
Originally Posted by JeromeC View Post
Not sure if this is any help: JC Developer World: [iPhone] Saving an Image to the Library from UIImageView

Its about getting a UIImage out of a UIImageView and saving it in the library of the iPhone.
Belkin_MAC is offline   Reply With Quote
Old 06-24-2009, 07:23 PM   #7 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 16
Default

Up! Up! Up!
Belkin_MAC is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, pdf, save, uiwebview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements
» Stats
Members: 21,492
Threads: 35,775
Posts: 156,709
Top Poster: smasher (2,448)
Welcome to our newest member, gate491
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0