Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 14, 2009, 05:50 AM   #1
sandhya.rai
macrumors newbie
 
Join Date: Jan 2009
How to save an image in application sandbox

Hii,

I want to know how to edit and save the particular image from photo gallery to application sandbox and how to read the images too.
I got stuck at this point

thanks in advance
sandhya.rai is offline   0 Reply With Quote
Old Apr 14, 2009, 04:24 PM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Look at UIImageJPEGRepresentation() and UIImagePNGRepresentation()

and then once you have the NSData, you can writeToFile:atomically:

To get the path to where you can save it, use NSSearchPathForDirectoriesInDomains()
kainjow is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How can I save an image in xcode? Invasion11 iPhone/iPad Programming 2 Oct 9, 2011 05:22 PM
How to insert an image in a forum like this one shirlparker iPad 1 Jun 14, 2010 12:26 PM
how to save an image to the user's screen or photo album? privateson iPhone/iPad Programming 0 Jun 28, 2009 04:03 PM
Save an image in sandbox as wallpaper aob iPhone Tips, Help and Troubleshooting 3 Jun 11, 2009 12:59 AM
How to save an image from Safari? BoonusBoy iPhone Tips, Help and Troubleshooting 1 Nov 13, 2008 03:32 PM


All times are GMT -5. The time now is 10:20 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC