UITextView 如何追加文字? [color=#FF0000]UITextView.text=@" ";上面的方法只能设置一次值呀,之前的就被清空了。有没有追加文字的方法呢?[/color] 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 UITextView.text=@" ";上面的方法只能设置一次值呀,之前的就被清空了。有没有追加文字的方法呢? NSString * tex = UITextView.text;tex = [ tex stringByAppendingString: @"aaaa" ]; or tex = [ tex stringByAppendingFormat: @" %d", i ]; UITextView.text = tex; UITextView *textView = [[UITextView alloc] init]; NSString *str = textView.text; textView.text = [str stringByAppendingString:@"sssssss"]; 想做个客户端不知道要多少价位 按HOME键退出程序 10个帮你写出成功代码的小技巧 如何使用普通PC(intel CPU)开发ipad2程序? 如何定义多个控件?如按钮控件 NSDecimal 保留2位小数 cocos2d-x中的cctableview的cell内容下拉一次改变一次怎么解决 别看人家效率高,其实是他学会了“偷懒“。刚开发了个小工具分享一下!! 卸载和安装pods 如何解决GoogleMaps中MyLocation在中国内部的偏移? 如何在UISearchBar中添加按钮。 UITextField 如何设置为密码方式显示?
UITextView.text = tex;
NSString *str = textView.text;
textView.text = [str stringByAppendingString:@"sssssss"];