[英]Wrong Chromecast buttons position with RTL (right-to-left)
I am using googlecast example .我正在使用 googlecast示例。
When I show GCKUIExpandedMediaControlsViewController, all the buttons are in the correct position.当我显示 GCKUIExpandedMediaControlsViewController 时,所有按钮都在正确的位置。
But when I use this part of the code, the buttons overlap each other.但是当我使用这部分代码时,按钮会相互重叠。
UIView.appearance().semanticContentAttribute = .forceRightToLeft
I don't know if this is important, but the language in the iPhone settings - English.我不知道这是否重要,但 iPhone 设置中的语言 - 英语。
This is the result that I get这是我得到的结果
We don't support RTL well now.我们现在不太支持 RTL。 You can file a feature request here https://developers.google.com/cast/support
您可以在此处提交功能请求https://developers.google.com/cast/support
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.