In iPhone, the 6 & 7 series have the display zoom option. If we enable it then the screen size will be changed accordingly in points.
在iPhone中,6和7系列具有显示缩放选项。如果我们启用它,那么屏幕尺寸将相应地以磅为单位进行更改。
-
In case of iPhone 6, 6s, 7 the screen size will change from 375 × 667 points to 320 × 568 points which is iPhone 5, 5s's actual screen size in points.
在iPhone 6,6s,7的情况下,屏幕尺寸将从375×667点变为320×568点,这是iPhone 5,5s的实际屏幕尺寸。
-
In case of iPhone 6+, 6s+, 7+ the screen size will change from 414 × 736 points to 375 × 667 points which is iPhone 6, 6s, 7's actual screen size in points.
在iPhone 6 +,6s +,7 +的情况下,屏幕尺寸将从414×736点变为375×667点,这是iPhone 6,6s,7的实际屏幕尺寸。
Now I'm little bit confused here. As we all know the Points is based on coordinates of device's physical screen. Then how the actual screen size of iPhone is changing in display zoom option without changing the screen's width and height physically? I mean whats the logic behind this.
现在我在这里有点困惑。众所周知,Points是基于设备物理屏幕的坐标。那么在不改变屏幕宽度和高度的情况下,iPhone的实际屏幕尺寸如何在显示缩放选项中发生变化?我的意思是这背后的逻辑是什么。
Look I may be wrong with the concept of screen size in Points I'm explaining here. In that case, please explain the original concept.
看看我在这里解释的点的屏幕尺寸概念可能有问题。在这种情况下,请解释原始概念。
1 个解决方案
#1
1
The points are the logical resolution that the OS presents to the applications. It is then mapped onto physical pixels, usually in a 2x resolution, but for example the Plus models do not have enough pixels for a straight translation, so there is some mismatch there already. That mapping is done by the OS automatically.
这些点是操作系统向应用程序提供的逻辑分辨率。然后将其映射到物理像素上,通常是2倍分辨率,但是例如Plus模型没有足够的像素用于直接平移,因此已经存在一些不匹配。该映射由OS自动完成。
The zoom options set a lower logical resolution (forcing for example apps to render for a virtual 4-inch screen even though the device has a bigger physical one), making everything appear larger.
缩放选项设置较低的逻辑分辨率(强制例如应用程序渲染虚拟4英寸屏幕,即使设备具有更大的物理屏幕),使一切看起来更大。
Either way, apps do not get to render pixels directly. They output according to virtual points.
无论哪种方式,应用程序都无法直接渲染像素。它们根据虚拟点输出。
#1
1
The points are the logical resolution that the OS presents to the applications. It is then mapped onto physical pixels, usually in a 2x resolution, but for example the Plus models do not have enough pixels for a straight translation, so there is some mismatch there already. That mapping is done by the OS automatically.
这些点是操作系统向应用程序提供的逻辑分辨率。然后将其映射到物理像素上,通常是2倍分辨率,但是例如Plus模型没有足够的像素用于直接平移,因此已经存在一些不匹配。该映射由OS自动完成。
The zoom options set a lower logical resolution (forcing for example apps to render for a virtual 4-inch screen even though the device has a bigger physical one), making everything appear larger.
缩放选项设置较低的逻辑分辨率(强制例如应用程序渲染虚拟4英寸屏幕,即使设备具有更大的物理屏幕),使一切看起来更大。
Either way, apps do not get to render pixels directly. They output according to virtual points.
无论哪种方式,应用程序都无法直接渲染像素。它们根据虚拟点输出。