When i used
self.view.backgroundColor = [UIColor colorWithPatternImage:
[UIImage imageNamed:@"image_name.png"]];
the cell carry bottom part of image and it looks like strip on view
When i used
self.view.backgroundColor = [UIColor colorWithPatternImage:
[UIImage imageNamed:@"image_name.png"]];
the cell carry bottom part of image and it looks like strip on view
Use the following method to set cell height exactly the same as your image's height:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
Also you might want to remove separators depending on how your image looks using the following code:
MyTableName.separatorStyle = UITableViewCellSeparatorStyleNone;