tags:

views:

38

answers:

2

i can show image on left hand side of table view but why my right hand side is not working

CGRect frame;

    frame= CGRectMake(310 ,10, 50, 50);
UIImageView *   myImageView = [[UIImageView alloc]init];
    cell.myImageView.image = [UIImage imageNamed:@"bowl.png"];


    myImageView.frame = frame;
    [myImageView release];
+1  A: 

Do this code in willDisplayCell and it should work. Also remember the default cell already has an imageview, you can just move its frame.

Joshua Weinberg
how to move frame of default cell and where is that willdisplaycell???
ram
willDisplayCell is a delegate method in UITableViewDelegate
Joshua Weinberg
A: 

now working :( why its not working

ram