Skip to content

Conversation

@Spriea
Copy link

@Spriea Spriea commented Jun 20, 2025

布局当切换阿拉伯语言时,无法正常翻转,适配RTL

@Minozmin
Copy link

Minozmin commented Sep 1, 2025

override var flipsHorizontallyInOppositeLayoutDirection: Bool {
let layoutDirection = UIView.userInterfaceLayoutDirection(for: UIView.appearance().semanticContentAttribute)
return layoutDirection == .rightToLeft
}
你好,设置这个并不能实现RTL布局呢,请问你那边可以吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants