Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-01-2008, 06: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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,124
Threads: 38,889
Posts: 170,606
Top Poster: smasher (2,565)
Welcome to our newest member, silveras
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.