如何让textView不可编辑

2024-12-27 09:27:05
推荐回答(4个)
回答1:

设置好

回答2:

您好,很高兴为您解答:

textview.editable = no;

- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
return NO;
}

如果我的回答没能帮助您,请继续追问。转载,仅供参考。

回答3:

textview.editable = no;

- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
return NO;
}

回答4:

您好,很高兴为您解答:

textview.editable = no;

- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
return NO;
}