相关疑难解决方法(0)

UITextView自动向下滚动

我有一个UIView,我添加了一个可编辑的UITextView,

UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(5, 5, 219, 47)];
[self addSubview:textView];
textView.font = [UIFont systemFontOfSize:14];
Run Code Online (Sandbox Code Playgroud)

当我键入它不会自动下降.有人有个主意吗?

cocoa-touch

30
推荐指数
5
解决办法
4万
查看次数

标签 统计

cocoa-touch ×1