A simple question about images. I want to display 5 images across a width of a view based on information I am processing.
What control do I use to display the images on iphone and can you please provide a code sample how to set the images source property programatically?
UIImageView
Either:
Or, if the imageView already exists:
This would be easiest to do in Interface Builder (create the Image Controls and layout there, then you can set the image property from code). If you do it in code, you will need to create all 5 of these and then lay them out properly using the frame property of each UIImageView
Documentation: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImageView_Class/Reference/Reference.html