ios - how to load two images with Lazyloading in one cell -
in application have used lazyloading displaying image url. want display 2 multiple images in 1 cell. how can please me.
maybe you. add code in cellfor row , download image use sdwebimage
uiimageview *imgview1=[[uiimageview alloc]init]; imgview1.frame=cgrectmake(0,0,20,20);//your frame imgview1.image = [uiimage imagenamed:@"a"]; // image or download image code or use sdwebimage [cell.contentview addsubview:imgview1]; uiimageview *imgview2=[[uiimageview alloc]init]; imgview2.frame=cgrectmake(25,0,25,25);//your frame imgview2.image = [uiimage imagenamed:@"b"]; // image or download image code or use sdwebimage [cell.contentview addsubview:imgview2];
if want add more images add same code , give frame.
Comments
Post a Comment