Dans mon application, les images sont chargées à partir du flux rss dans la cellule de tableau. ils sont de taille variable comment puis-je les fixer à une certaine taille. mon code estAffichage des images en taille de fichier fixe
int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1];
imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"];
NSURL *url = [NSURL URLWithString:imgstring];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *img = [[UIImage alloc] initWithData:data];
cell.imageView.image=img;
vous pouvez voir mon écran d'application tourné click here
Merci je vais attendre votre réponse ....
Vous avez une fuite dans ce code cell.imageView.image = img; qui devrait être cell.imageView.image = [img autorelease]; –