-(void)textViewDidBeginEditing:(UITextView *)textView
{
Text.textColor = [UIColor blackColor];
CGRect Frame = CGRectMake (8 ,63, 305, 238);
[Text setFrame: Frame];
// self.navigationItem.rightBarButtonItem = BARBUTTONDONE(@"Done", @selector(DoneAction:));
}
- (void)textViewDidChange:(UITextView *)textView{
CGRect Frame = CGRectMake (8 ,63, 305, 160);
[Text setFrame: Frame];
}
- (void)textViewDidEndEditing:(UITextView *)textView{
CGRect Frame = CGRectMake (8 ,63, 305, 238);
[Text setFrame: Frame];
[Text setContentOffset:CGPointMake(0, 0)];
}
{
Text.textColor = [UIColor blackColor];
CGRect Frame = CGRectMake (8 ,63, 305, 238);
[Text setFrame: Frame];
// self.navigationItem.rightBarButtonItem = BARBUTTONDONE(@"Done", @selector(DoneAction:));
}
- (void)textViewDidChange:(UITextView *)textView{
CGRect Frame = CGRectMake (8 ,63, 305, 160);
[Text setFrame: Frame];
}
- (void)textViewDidEndEditing:(UITextView *)textView{
CGRect Frame = CGRectMake (8 ,63, 305, 238);
[Text setFrame: Frame];
[Text setContentOffset:CGPointMake(0, 0)];
}
本文介绍了一个改进的文本编辑器用户界面设计,包括文本颜色调整、文本框大小变化和内容滚动优化,旨在提升用户体验。通过设置文本颜色为黑色,并在不同编辑阶段调整文本框大小和内容滚动范围,实现更流畅的输入体验。
747

被折叠的 条评论
为什么被折叠?



