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 03-09-2009, 10:17 PM   #12 (permalink)
RickMaddy
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,122
Default

If all you want to do is save an image from your resource bundle to the camera roll then change your code to this:

Code:
- (IBAction)save:(id)sender {
    UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]];
    UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);
}
RickMaddy is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,857
Threads: 89,223
Posts: 380,682
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Donovan472
Powered by vBadvanced CMPS v3.1.0

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