Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LastLine

macrumors 65816
Original poster
Aug 24, 2005
1,313
21
Hey all, I've just finished working on my new app however I've got one final hurdle to cross and it's a bit of a kicker.

I have a UIImageView on the interface which receives an image from the device photo library using a UIImagePickerController which it then displays. Now this is all fairly straight forwards. Now what I'm trying to figure out is how to store this in any way, shape, or form so that it automatically reopens the next time. I've struggled to find code snippets, tutorials, or anything that's 'accessible' to a reasonably new programmer. What I would like is this.

1) User opens Image Picker
2) User selects image
3) Program places image in UIImageView
This all works fine so far, now the next stage is challenging me.
4) Program stores information that conveys that image is to be recalled next time the application is opened.
5) Program allows the image to be changed in the future by simply selecting a new photo (or even a reset button, I could cope with that logic.)

Can anyone point me out any help here? I'm getting thoroughly baffled. I have coredata set as imported in my app_prefix so that's a start but beyond that...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.