Simple Question Regarding UIImageView
I have a UIImageView loaded with 'image1'. When I execute an IBAction, I want to change the image in the UIImageView to 'image2'. I know how to do this.
Now when the user closes the app and re-opens it, I want the image to load as 'image2', not 'image1'. I guess you would use NSUserDefaults to store the image but I'm not 100% sure on how to do this.
Thanks in advance!
|