Quote:
Originally Posted by mr tickle
to go into how you position the UIViews inside the scrollview, thats the nifty part
you have 2 for loops
for(int rows=0; rows<=10; rows++){
for(int cols=0; cols<=1; cols++)
{
// here you calculate the x and y coordinates of the UIViews position using the values rows and cols with some simple addition and multiplication based on the size of the thumbnails
}
}
it means that each time rows runs 1 time
cols will run twice, so you can change that and have 3 images per row
where cols would be cols<=2 inside the for loop (that means it will go in sequence 0,1,2)
|
Question: Where in the code below would this code fit? I am trying to get 4 columns. Thanks .
http://www.de-clunk.com/demoScrollerFulview.zip