作者:小于2502919693 | 来源:互联网 | 2023-07-10 18:35
Ihavealogointhestoryboardsettoatopconstraintofvalue28anditworksforalldevices.On
I have a logo in the storyboard set to a top constraint of value 28 and it works for all devices. On iPhone X device it merges with the camera bar on the top. If i increase the top constraint it affects the other devices. How do i set a constraint only for iPhone X alone?
我在故事板中有一个标识设置为值28的顶部约束,它适用于所有设备。在iPhone X设备上,它与顶部的相机条合并。如果我增加顶部约束,它会影响其他设备。如何仅为iPhone X设置约束?
1 个解决方案