UITextView输入属性文字(中英文, 表情, 段落间距等), 现在可以使用分类搞定了. 只需要在 UITextView 的 代理方法
- (void)textViewDidChange:(UITextView *)textView中调用分类UITextView+InputAttributeText的inputAttributeTextWithAttributes:方法就可以了, 将属性参数传递进来.
链接 : http://pan.baidu.com/s/1c1oiaHU
UITextView输入属性文字(中英文, 表情, 段落间距等), 现在可以使用分类搞定了. 只需要在 UITextView 的 代理方法
- (void)textViewDidChange:(UITextView *)textView中调用分类UITextView+InputAttributeText的inputAttributeTextWithAttributes:方法就可以了, 将属性参数传递进来.
链接 : http://pan.baidu.com/s/1c1oiaHU