Textview光标的颜色的改变
typeFelid.tintColor = [UIColor whiteColor];
设置textview不能编辑,内容不可复制;
(1)[txtView setDelegate:self];
(2)[txtView setEditable:YES];
(3)
-(BOOL)textViewShouldBeginEditi
ng:(UITextView *)textView
{
return NO;
}
注意点:txtView.editable一定要设置成YES
(2)[txtView setEditable:YES];
(3)
-(BOOL)textViewShouldBeginEditi
{
}
注意点:txtView.editable一定要设置成YES