I started working on an iphone app and since I am not as experienced as most I can not figure out how to recreate dynamically imageviews, labels and buttons. Basically there will be an array in which some data is stored. However the size of the array will vary and such I can not make a static VC on the storyboard. I would like to use the following template and then the array should use this template to recreate it as many times as it needs :
http://www.dropinsight.eu/screenshot1.png
Thank you in advance for any help you can give me.
Cheers
Max
The previous answers about using a UITableView to display each entry in the array as a cell is the way you want to go. To answer your question about “dynamically creating” each item, you would want to create each UI element in your cellForRowAtIndexPath like this:
Then in your willDisplayCell method you will set the contents of any UI item that change for each row like this: