i'm trying photo thumbnail photo album present in picasa account. i'm using collection view displaying albums uiimageview
inside cells display 1 of photos album.
the problem is, when run code, cells not reflect thumbnails , display white background when put breakpoint inside datasource method-- (uicollectionviewcell *)collectionview:(uicollectionview *)collectionview cellforitematindexpath:(nsindexpath *)indexpath;
can see images getting set image view inside cells , photos on each cell after that.
i don't want use nstimer
hold segue. having suggestions please...
- (uicollectionviewcell *)collectionview:(uicollectionview *)collectionview cellforitematindexpath:(nsindexpath *)indexpath{ static nsstring *identifier = @"cell"; uicollectionviewcell *cell = [collectionview dequeuereusablecellwithreuseidentifier:identifier forindexpath:indexpath]; // configure cell... gdataentryphotoalbum *albumentry = [app.albums objectatindex:indexpath.row]; if(app.albums.count>albumthumbnails.count) { [[gdataphotowrapper sharedgdataphotowrapperinstance] setdelegategdataphotowrapper:self]; [[gdataphotowrapper sharedgdataphotowrapperinstance] fetchimageforselectedalbum:albumentry]; } cell.backgroundview = [[uiimageview alloc]initwithimage:[uiimage imagenamed:@"photo-frame.png"]]; uilabel *albumtitle = (uilabel*)[cell viewwithtag:200]; albumtitle.text = [[albumentry title] stringvalue]; if(albumthumbnails.count==app.albums.count) { uiimageview *thumbnail = (uiimageview *)[cell viewwithtag:1]; thumbnail.image = (uiimage*)[albumthumbnails objectatindex:indexpath.row]; } return cell; }