以下不起作用。
GLKView *view = (GLKView *)self.view;
view.contentScaleFactor=1.0;
记录view
和[UIScreen mainScreen]
对象:
<GLKView: 0x15638f60; frame = (0 0; 320 568); autoresize = RM+BM; layer = <CAEAGLLayer: 0x15638960>>
<UIScreen: 0x15629a60; bounds = {{0, 0}, {320, 568}}; mode = <UIScreenMode: 0x15629c40; size = 640.000000 x 1136.000000>>
[[UIScreen mainScreen] scale];
仍然是 2.0 而不是1.0
我需要在其他对象上设置比例因子吗?