Swift 当UIView从右向左时,多选择分段控件加载项问题

Swift 当UIView从右向左时,多选择分段控件加载项问题,swift,Swift,当我写代码时 UIView.appearance().semanticContentAttribute = .forceRightToLeft 举止怪异 在英语中,使用此代码可以很好地工作 UIView.appearance().semanticContentAttribute = .forceLeftToRight MultiselectedSegmentedControl在内部使用UIStackView,因此其左右布局会根据semanticContentAttribute进行更改。我在

当我写代码时

UIView.appearance().semanticContentAttribute = .forceRightToLeft
举止怪异

在英语中,使用此代码可以很好地工作

UIView.appearance().semanticContentAttribute = .forceLeftToRight

MultiselectedSegmentedControl
在内部使用
UIStackView
,因此其左右布局会根据
semanticContentAttribute
进行更改。我在版本2.3.5中修复了这个问题,但是请注意,现在段的顺序将是从右到左