I set background of view as below:
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:
@"backgr.png"]];
It is working fine when i run it in iphone 4(Retina 3.5-inch). But when i run it in iphone 5(Retina 4-inch) image didn't set or displayed correctly.Image looks like 4 times zoom in/ blows up.
EDIT:
I have two different images for iphone 4(640x960) and 5(640x1136).
What is the problem here? Is it scaling problem or another problem?
Please guide me on this.