0
我如何通過滾動型lazyimageloading誰能請正確,但建議答案顯示懶圖像加載滾動視圖的DISPLY indivial圖像加載通過活動的指標
xview = 21;//30
yview = 21;
yscroll = 150;//200
h=1;
NSLog(@"arr count %d",[filelistarr count]);
for(int s=0;s<[filelistarr count];s++)
{
obj=[filelistarr objectAtIndex:s];
scrollview.contentSize=CGSizeMake(320, yscroll);
if(h%4 == 0)
{
xview=21;
h=1;
yview=yview+120;
//yscroll=yscroll+20;
}
imgbtn = [UIButton buttonWithType:UIButtonTypeCustom];
imgbtn.frame = CGRectMake(xview, yview, 80, 80);
imgbtn.layer.borderWidth = 0;
imgbtn.layer.borderColor = [[UIColor blackColor] CGColor];
imgbtn.tag=(s+1);
}
- 圖像設置按鈕如何顯示的圖像設置懶惰圖片加載請幫我....
'}' - 被竊聽我。順便說一句,反引號是什麼? – tjameson 2013-03-22 07:19:23