gpt4 book ai didi

ios - 不是可以使用 watch 屏幕的全宽吗?始终获得 1 点边框

转载 作者:行者123 更新时间:2023-11-29 02:07:52 24 4
gpt4 key购买 nike

难道不能使用整个屏幕宽度吗?对于组还是 ImageView?

当我设置“相对于容器”的宽度时,我总是在两侧看到一个单点边框。

我不明白为什么,因为时钟仍然有一个黑框。因此,添加另一个从已经足够小的屏幕窃取 Canvas 的虚拟边框似乎没有意义。

有什么方法可以解决这个问题,还是我们必须以这种方式使用它?

最佳答案

也许将 margin 和/或 padding 设置为 0 会解决这个问题。

IOS Dev Library虽然说:

Use the full width of the screen. Because the bezel on Apple Watch adds visual padding around your content, you do not need to include margins between the screen edge and your content. (Note that this padding is not present in iOS Simulator.)

关于ios - 不是可以使用 watch 屏幕的全宽吗?始终获得 1 点边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29603613/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com