我有一个 UITableViewCell
,其中包含一个 UITextView
。
我想在此 TextView 上设置内边距,以便单元格内容在每一侧被插入 10。
我知道我可以在代码中使用 textView.textContainerInset = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
在处理 XIB 文件时是否可以使用 IB?
最佳答案
关于ios - 使用 XIB 在 UITextView 上设置内容插入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54087807/