导航控制器上的UITextView未能置顶显示文本:
![](https://img.haomeiwen.com/i2025463/f25586c2924cd2cd.png)
在ViewController中添加下面的这句代码即可:
self.automaticallyAdjustsScrollViewInsets = NO;
![](https://img.haomeiwen.com/i2025463/e16d125d7981a44d.png)
![](https://img.haomeiwen.com/i2025463/3760dd62339756b3.png)
导航控制器上的UITextView未能置顶显示文本:
在ViewController中添加下面的这句代码即可:
self.automaticallyAdjustsScrollViewInsets = NO;
本文标题:解决UITextView顶部一段空白的问题
本文链接:https://www.haomeiwen.com/subject/bbibjxtx.html
网友评论