Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想删除这个填充,因为我从 textView.contentSize.height 得到了错误的高度(仅限日文/英文)。
你有我的解决方案或代码吗?
有任何想法吗?
我遇到了同样的问题并解决了
YourTextField.contentInset = UIEdgeInsetsMake(-4,-8,0,0); //you can modify these values to best fit your text.