I create i uiscrollview, when i run my app, touch the scrollview but the scrollview does not scroll. help me! think you! The code as:
for (int i=0; i<imageCounts; i++)
{
GalleryProperty *itemVo = [itemList objectAtIndex:i];
//1 button
UIImageView *imageview = [[UIImageView alloc] initWithFrame:CGRectMake(0,20,320,460)];
UIImage *image = [UIImage imageWithContentsOfFile:itemVo.pic];
[imageview setImage:image];
[scrollView addSubview:imageview ];
[imageView release];
}
You have to set the content size: