1
votes

I am having some issues with the colorWithPatternImage. The image stretched out in a retina screen, I looked around and could't a solution that worked for me.

Here is what I have:

tblView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed: @"list_container.png"]];

Any ideas how I could fix this?

Thanks for your time!

1

1 Answers

5
votes

Create a hi-res version of the pattern save as [email protected].