ios - UITableViewCell 中的图形故障

标签 ios xcode uitableview uistoryboard

我在 UITableViewCell 中遇到了相当奇怪的错误。我在 IB StoryBoard 中创建了一个原型(prototype)单元格,然后在 UITableViewController 中以标准方式创建了它。不知何故,我遇到了下图所示的图形故障。

有人遇到同样的问题吗?它发生在模拟器和真实设备 (iPhone 5) 上。

Error while drawing cell

最佳答案

这是由于您的单元格分隔符所致。 您可以删除分隔符或将左分隔符插图设置为零。 (在界面构建器中选择您的 TableView 并在右侧面板的属性检查器中调整设置)

关于ios - UITableViewCell 中的图形故障,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21329284/

相关文章:

ios - XCode 4.5 iOS 5 模拟器 : The document "xxx.xib" could not be opened. 操作无法完成。

uitableview - 如何使用 Storyboard 实现自定义 TableView 部分页眉和页脚

ios - UITableView 在批量行和部分删除后请求幻影部分,导致崩溃

iphone - iPhone sdk中的sqlite外键

iphone - 我的 iPhone 视频只能以纵向模式播放

ios - 广告未在 MoPub IOS-SWIFT 中加载 - 横幅

ios - 评估iOS崩溃报告(使用phonegapbuild构建的应用程序,因此无法在xcode中进行符号化)

ios - 将 View 的 NSLayoutConstraint 设置为右上角

ios - 无效的 `Podfile` 文件 : cannot load such file -- ⁨path/to/. ios/Flutter/podhelper.rb

ios - Xcode UI 测试允许系统警报系列