Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-01-2008, 07:32 AM   #1 (permalink)
fatter
New Member
 
Join Date: Aug 2008
Posts: 2
Default Save image into cache ?

Hi,

I have been talking about how to save text into cache in this topice :
Apple - Support - Discussions - How to save data in order to reuse on ...

Now I would like to know how should I proceed to save an PNG or JPG that is online into the iPhone.

This is the wished process

My App launches, retrieves an XML file from a web server.
In the XML file there is string that is the image URL, (example : http://www.google.es/images/nav_logo4.png)

The image is stored into the iPhone's cache.
Then I use this image as an UIImageView in my View.

This my question

1. Once I have the URL, how do I download and save into cache. What should I use ?

2. How to access to that cached data then ?
fatter is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,673
Threads: 89,155
Posts: 380,385
Top Poster: BrianSlick (7,110)
Welcome to our newest member, rockystdr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:48 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.