ios - RTL 下的 Chromecast 按钮位置错误(从右到左)

标签 ios swift chromecast google-cast google-cast-sdk

我正在使用 googlecast example .

当我显示 GCKUIExpandedMediaControlsViewController 时,所有按钮都位于正确的位置。

enter image description here

但是当我使用这部分代码时,按钮相互重叠。

UIView.appearance().semanticContentAttribute = .forceRightToLeft

我不知道这是否重要,但 iPhone 设置中的语言 - 英语。

这是我得到的结果

enter image description here

enter image description here

最佳答案

我们现在不太支持 RTL。您可以在此处提交功能请求 https://developers.google.com/cast/support

关于ios - RTL 下的 Chromecast 按钮位置错误(从右到左),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57161306/

相关文章:

ios - 从 UIViewController 更改 UIWindow backgroundColor?

android - Chrome (Android) -- 转换经过身份验证的 HTML5 视频

ios - UITouch 触摸事件向下识别为移动

iphone - UILabel 显示不更新

ios - 在远程推送通知重定向到正确的 ViewController

ios - UITableView 自动调整大小行约束在 iPhone 6Plus 上神秘地打破

mobile - Chromecast 内容缓存

Chromecast 接收器 : Custom XHR Loader

ios - 在 CSSearchableItemAttributeSet 中从 NSarray 设置标题属性

ios - 何时在 Podfile 中使用 ~>