ios - UIStackView 内的 UISegmentedControl,分段文本不居中 - iOS 13

标签 ios swift uisegmentedcontrol ios13

在 iOS 13 中,UISegmentedControl 设计已更新,但如果将分段控件放在 UIStackView 中,分段文本不会居中。

这是我从 StoryBoard 中看到的

This is what I see from the StoryBoard

这是运行应用的结果

enter image description here

最佳答案

错误报告已发送给 Apple,并已通过 iOS beta 3 解决。

关于ios - UIStackView 内的 UISegmentedControl,分段文本不居中 - iOS 13,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56833449/

相关文章:

ios - Partial Curl 下 UISegmentedControl 的流氓动画

iOS Swift - 使用 UISegmentedControl 更改 UIPageViewController 页面

ios - 在 swift 中将边框宽度和颜色分配给 textview 时应用程序崩溃

ios - 链接器错误: ld: symbol(s) not found for architecture x86_64

ios - 如何快速增加 TabBar 项目标题的底部偏移量

iphone - UISegmentedControl 未重绘

swift - 用于分段控件的 UITesting Swift

ios - 如何制作用于向左滑动的 Instagram 聊天屏幕(UI)以在 iOS 中查看时间

ios - 使用 NSUserdefaults 注销用户会出现什么错误?

c++ - 如何从 CVPixelBufferRef 转换为 openCV cv::Mat