My question is next:
How to use pixel instead point for control?
For example I add to my project retina images (size 75, 45). In this case I create UIImage with a size 37pt, 22pt (and some pixel are lost)
I create puzzle game and very important that all the pixels match my mask.
How to resolve this problem?
Thanks!
CGRectis a struct composed ofCGFloatelements… So just set the sizes as 37.5 and 22.5 and you’re done. Why you would want to use odd-number sized retina images though is another question – are you not supporting non-retina devices?