Skip to content

Expose collectionView to public, which can support RTL by changing semanticContentAttributes. - #1419

Open
wolfcon wants to merge 2 commits into
WenchaoD:masterfrom
wolfcon:master
Open

Expose collectionView to public, which can support RTL by changing semanticContentAttributes.#1419
wolfcon wants to merge 2 commits into
WenchaoD:masterfrom
wolfcon:master

Conversation

@wolfcon

@wolfcon wolfcon commented Nov 7, 2023

Copy link
Copy Markdown

当手动修改 UIView.appearance().semanticContentAttribute 从 LTR 变成 RTL 时, 会导致界面全反.
暴露 CollectionView 可以通过强行指定 collectionView.semanticContentAttribute 恢复界面正常

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.

1 participant