How can I change the image displayed in a UIImageView programmatically?
If you have an IBOutlet to a UIImageView already, then all you have to do is grab an image and call setImage on the receiver (UIImageView). Two examples of grabbing an image are below. One from the Web, and one you add to your Resources folder in Xcode. UIImage *image = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL … Read more