Is this a proper way or are there better solutions?
Thanks a lot!
Code (rowAtIndexPath)
UIImageView * imageView = [[UIImageView alloc] initWithFrame:CGRectMake(500, 50, 20, 20)];
imageView.image = [UIImage imageNamed:@"Icon.png"];
[cell addSubview:imageView];
You should add your views to cell’s contentView not cell’s view. Here’s an example: