3
有人能告訴我爲什麼下面的代碼會在iPhone 4上返回Screen Size: 320.000000, 480.000000
?iPhone 4屏幕尺寸不正確?
CGRect screenRect = [[UIScreen mainScreen] bounds];
NSLog(@"Screen Size: %f, %f", screenRect.size.width, screenRect.size.height);