TVOS表查看布局问题
我正在使用TVOS应用程序中的TableViews。屏幕分为3个表视图。左和右表视图缩进了标头,中间没有任何问题。我已经尝试了以下内容来删除此缩进,但根本无法使用。任何帮助将不胜感激。
cell.focusStyle = .custom
cell.selectionStyle = .none
table.dataSource = self
table.delegate = self
table.backgroundColor = UIColor.white
table.insetsContentViewsToSafeArea = false
table.insetsLayoutMarginsFromSafeArea = false
我相信这是由安全区域引起的,但是当取消检查时,它也无法正常工作。
I am using tableviews in my tvOS application. The screen is divided into 3 table views. The left and right table view is indenting the header, the middle has no issues at all. I have tried the following to remove this indent but it is not working at all. Any help would be appreciated.
cell.focusStyle = .custom
cell.selectionStyle = .none
table.dataSource = self
table.delegate = self
table.backgroundColor = UIColor.white
table.insetsContentViewsToSafeArea = false
table.insetsLayoutMarginsFromSafeArea = false
I believe this is caused by the Safe Area, but when unchecking this it does not work also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论