-1
我創建我uiscrollview,當我運行我的應用程序,觸摸滾動視圖,但滾動視圖不滾動。 幫幫我! 想你! 代碼爲:UIScrollView不滾動...
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];
}
可能重複(http://stackoverflow.com/questions/2824435/ UIScrollView的 - 不滾動) – Javier 2013-03-26 05:48:38