Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前有一个可以向右平移以刷新内容的表格单元格,但我想在空白区域的左侧添加一个活动指示器。我的单元格是自定义的,但我认为您不能在 customcell.m 中添加指示器,因为它只允许您将子视图放置在单元格的边界中。不要介意单元格中的文本。
如果单元格的内容视图将“clipsToBounds”属性设置为 false,则您只需将活动指示器添加到单元格内容视图的边界之外。也许在 -50 的 x 值中,或者类似的东西。