I implemented -drawRect: to draw something, and I don’t want this drawing to happen on a larger retina bitmap. How can I make sure that this bitmap is always the same for all devices?
I tried to install self.contentScaleFactor = 1.0f;in initialzier, but that did not help. The system seems to automatically return this back to 2.0f ... In my NSLog, I always get
contentScaleFactor = 2.0f
How to make sure it is 1.0f?
source
share