iOS10.2 UITextView只有一行文本时,看不到内容
2019-06-06 本文已影响0人
生命不止运动不息
如题,
原因是因为我设置了 _contentTextView.textContainerInset = UIEdgeInsetsMake(0, -2, 0, 0);
关键是-2. 去掉该行,即显示了
如题,
原因是因为我设置了 _contentTextView.textContainerInset = UIEdgeInsetsMake(0, -2, 0, 0);
关键是-2. 去掉该行,即显示了