我正在尝试设置 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 没有任何作用。
我错过了什么吗?有任何想法吗?