Quote:
Originally Posted by AlexPacteau
Hey im pretty new to xcode and need help. I am trying to make an app that will view lots of cars. What i am trying to do is make a table like in the "photo" applicatiion that comes with the iphone. i would like to be able to make it in a grid view like photo ad be clickable to display the image in full screen. I know how to add photos into the resources but just need help creating the table. could someone tell me how to do it in interface builder or just by code. All i am looking for is a way to replicate the photo application of the iphone but with my own photos.All help is appreciated. cheers!!!
|
i don't know exactly how the photo viewer works, but i'm assuming that in IB you put a UIScrollView as the whole view, or however much of the view you want to cover. then as you have your thumbnails, say 64X64, you add UIImageViews that you create in your code, one after another, 4 to a row, (or however many fit, you probably want to make it nice and balanced like the photo viewer), and display the thumbnail there.
it's just firguring out the coordinates for each UIImageView.