 <p>Try This one, May be help full </p> <pre><code>newView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:[NSString stringWithFormat:@"lightwood%d.jpg", indexPath.row]]]; </code></pre> <p>indexPath.row increase one by one and your images name also increasing one by one.... Thanks </p>