i have to save some photos in photo library using UIImagePickerController and save that name in my database. at the same way i need to view that saved photos. i dont want 2 see all photos in photo library . which is the better way? please post some samples.
A:
You are going the wrong way for what you are trying to accomplish. If you want to have application specific pictures saved, and the user only be able to see those, you are going to have to use the method UIImageJpedRepresentation method that gives you back an NSDAta object representation of the image, then you want to store the data using the file system or core data, along iwth its naming information etc. When you want to display images to the user, you should be able to retrieve the data and use [UIIMage imageWithData:data] method to get your images back and display them. Hope this helps
Daniel
2009-07-30 13:38:36