【发布时间】:2017-12-20 10:36:17
【问题描述】:
我正在尝试将我放置在 tableViewCells 中的 textView 的 contentInsets 设置为零,以便我可以将我的文本与标签和 imageView 气泡对齐。我当前的实现看起来像这样。
我采用了这篇文章中的解决方案,但似乎不适用于我的情况。 Blank space at top of UITextView in iOS 10
上面帖子中的解决方案是针对uiviews的,但我的是在tableViewCell中,tableViewCell中没有自动AdjustsScrollViewInsets。
这里有什么帮助吗?
【问题讨论】: