using: [self.view setBackgroundColor: [UIColor colorWithPatternImage: [UIImage imageNamed: @ "background1.png"]]]];

The picture is too big and you can see it only a quarter can see 640x1136! but I specifically made it so that under the retina 3.5 and retina 4. How to fix?

I put a UIImageView, but in the background setting I don’t see the Main@2x.png picture, why I don’t understand what)))

and more about the pictures (content). should i do them 2 times more? Or does this only apply to shortcut icons and screensavers?

If the user on the 4th iPhone has the 7th firmware, does this not mean that he has a retina 4?))) right?

Thanks for the answer.

    1 answer 1

    Here are two useful links about resources and more about pictures . It is not necessary to manually set the size of the images, it is enough to call them correctly, for example:

    background@2x~iphone.png - ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° для iPhone Retina background~iphone.png - ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° для iPhone background@2x~ipad.png - ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° для iPad Retina background~ipad.png - ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ° для iPad 

    In the code, you simply prescribe UIImage *background= [UIImage imageWithName:@"background"]; and the system itself will select the desired picture