我正在尝试设置 aUITextView
的contentInset
属性。这样做时,UIEdgeInset
'stop
变量可以正常工作。所以[self.textView setContentInset: 'UIEdgeInsetsMake(50, 0, 0, 0)];
有效。
但是分配 UIEdgeInsets 的任何其他变量都不起作用。只有top
调整。bottom
不调整,也不做left
或right
。
所以[self.textView setContentInset: UIEdgeInsetsMake(0, 50, 100, 50)];
对我的 textView 没有任何作用。
我错过了什么吗?有任何想法吗?