UITabelView自定义单元错位问题(UITabelView Custom Cell Misplace Issue)

系统教程 行业动态 更新时间:2024-06-14 17:01:34
UITabelView自定义单元错位问题(UITabelView Custom Cell Misplace Issue)

我正在添加一个自定义单元格,我已经把它放在彼此靠近但不幸的是有一个错位,如下图所示。 请问我的问题在哪里?

我调整了约束。

通常我的故事板设计是这样的:

I'm adding a custom cell and I have placed it to be near to each other but unfortunately there is a misplacing as in the picture below. Please where would be my issue?

I have adjusted the constraints.

Normally my storyboard design is like this:

最满意答案

你在使用尺码类吗? 如果是这样,那么你必须在相关的大小类中添加/删除你的首选项

Are you using size classes? if so then you have to add/remove your preferences in the relevant size class

更多推荐

本文发布于:2023-04-20 18:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/1db46cac3ded12bae23c6bbd6bf116f9.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   单元   UITabelView   Custom   Issue

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!